skip to main
|
skip to sidebar
Introduction to C#
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2010
(4)
▼
March
(4)
Introduction to C#
# Program 1
# Program 2
# Program 3
About Me
Vijayinder Singh
View my complete profile
No comments:
Post a Comment