title: How to keep console window open
body: <p>When I run my program, the console window seems to run and close.  How to keep it open so I can see the results?  </p>
  
  <pre><code>class Program
  {
      public class StringAddString       
      {                        
          public virtual void AddString()
          {
              var strings2 = new string[] { "1", "2", "3", "4", "5","6", "7", "8", "9"};
  
              Console.WriteLine(strings2);
              Console.ReadLine();
          }
      }
  
      static void Main(string[] args)
      {          
          StringAddString s = new StringAddString();            
      }
  }
  </code></pre>