### Open Visual Studio and click on *File option take a * New Project then select *Visual C# and *Console Application .
HELLO WORLD OF C#using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hallo world");
}
}
}
SUM WITH TOW VARIABLE IN C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int a , b , c;
string s;
s = Console.ReadLine();
a = int.Parse(s);
s = Console.ReadLine();
b = int.Parse(s);
c = a + b;
Console.WriteLine("valu of c : "+c);
}
}
}