title: How to exit or continue in C#
body: <p>I was wondering if this is simple or complicated, how to exit or continue a small simple app. </p>
  
  <pre><code>Console.WriteLine("Enter an integer: ");
  int myInt = Convert.ToInt32(Console.ReadLine());
  bool isLessThan10 = myInt &lt; 10;
  bool isBetween0And5 = (0 &lt;= myInt) &amp;&amp; (myInt &lt;= 5);
  Console.WriteLine("Integer less than 10? {0}", isLessThan10);
  Console.WriteLine("Integer between 0 and 5? {0}", isBetween0And5);
  Console.ReadKey();
  </code></pre>
  
  <p>How to make it ask a question saying Do you want to quit this or continue and Yes to continue and No to quit. </p>
  
  <p>I don't know to do that, please help!</p>
  
  <p>Thanks</p>