Friday, September 5, 2008

A sample C# code snippet

class variabledemo {
//main method
public static void Main()
{
int first=5;
int second;
Console.WriteLine(" first value: {0}",first);
second=10;
Console.WriteLine(" first value: {0}",second);
}
}

0 comments: