Csharptalk - csharptalk.com

General Information:

Latest News:

C# Class Protected Method Accessibility 18 Feb 2013 | 10:10 pm

A protected method of a class will be accessible in any inherited class. But it is not accessible outside of class, even by using same class name. using System; public partial class _Default : Syste...

How to Configure the HTML5 Intellisense for Visual Studio 2008/2010 19 Aug 2012 | 12:46 pm

So HTML5 is getting popular and visual studio 2008/2010 is not supporting it. Lets add the intellisense for HTML5. Follow the following steps and your visual studio will support it. Step 1: Go to the...

Convert Local Date and Time to IST/EST/CST Time Zones in C# 19 May 2012 | 03:51 am

Time Zones are very important when you are developing a international application. You have to show the date and time for that country. The below program is an example to convert the local datetime in...

Breaking two Nested foreach loop with goto Statement in C# 6 May 2012 | 06:55 pm

Using goto statement also you can break the multiple loops at same time in this case you don't have to define any other variable to hold flag just define go to statement out of all the loops. Use of g...

How to Break with Two Nested loops in C# 6 May 2012 | 06:43 pm

Breaking from single for loop is easy task but if you want to break two for loops same time its a tricky one. You have to define a flag and when the condition in first for loop satisfy make this flag ...

C# Program to Show Desktop and Minimize all Windows 5 May 2012 | 09:10 pm

This program will help you to implement show desktop functionality in C#. The code snippet is given below. Before running this program you have to add a com reference. 1. Write Click the application ...

Find Empty and Null string at Same Time in C# 29 Apr 2012 | 07:21 pm

C# provide a functionality to check if a string is null or empty by single command. string have a internal function IsNullOrEmpty(), just pass the string in it and will return the true either it is nu...

Are Null and Blank Strings are Same in C# 29 Apr 2012 | 07:10 pm

One of my student ask me that is null and empty strings are different? Yes it is very different. String is null means object is assign with null and no value. string is assign with empty string means...

Manage Validation While two Submit Buttons in ASP.net 29 Apr 2012 | 06:57 pm

While working on ASP.NET i recently faced a problem. I had two submit buttons and a text box. textbox was having the validation associated. I wanted that whenever i press the btnSubmit2, it should giv...

Calculate Maximum of two Int – Decimal - long Numbers in C# | Math.Max() 27 Jul 2011 | 03:08 am

C# provide a math function to calculate max of two numbers, This function have overloaded functions for long, int, float, decimal, short etc. if you face any problem in finding the max value can use ...

Related Keywords:

c, C#.net, c# start thread 2010, c# 2010 valid date, c .net tutorial, mysql driver for asp.net free downoad, create table using sql developer, how to write a program in c sharp with word counts, c# bubble sort, pl sql create table

Recently parsed news:

Recent searches: