does c# run in a console code example
Example 1: hello world c#
Console.WriteLine("Hello World!");
Example 2: c sharp console app programming
int a = 42;
int b = 119;
int c = a + b;
Console.WriteLine(c);
Console.ReadKey();