visual studio console application code example
Example 1: dotnet core create console project
dotnet new console
Example 2: c sharp console app programming
int a = 42;
int b = 119;
int c = a + b;
Console.WriteLine(c);
Console.ReadKey();