c# console run code example
Example 1: c sharp console app programming
int a = 42;
int b = 119;
int c = a + b;
Console.WriteLine(c);
Console.ReadKey();
Example 2: Create a program called ResortPrices in C#
static void Main(string[] args)
{
//...
}