Saturday, March 6, 2010

# Program 1

We are starting with our first C#.NET Program.

using System;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int a, b, c;
a = 10;
b = 20;
c = a + b;
Console.WriteLine("the answer = " + c);

}
}
}

No comments:

Post a Comment