2
Answers

Console is not persistent

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?

Answers (2)