I wrote the "Hello" program as follows:, using VS 2010
using System;
class Hello
{
static void Main()
{
Console.WriteLine("Hello, C# world");
}
}
I saw a momentary flash on the console but then the console immediately shut down. How can I make the console stay open until I shut it down?
ali tuncerPosted Jun 14, 2016, 9:16 PM
you can add Console.ReadKey();
George StefanidakisPosted Jun 14, 2016, 10:04 PM