title: Quit the program when catching error in C#?
body: <p>With Python, I normally check the return value. And, if there's an error, I use <code>sys.exit()</code> together with error message.</p>
  
  <p>What's equivalent action in C#?</p>
  
  <ul>
  <li>Q1 : How to print out an error message to stderr stream?</li>
  <li>Q2 : How to call system.exit() function in C#?</li>
  <li>Q3 : Normally, how C# programmers process the errors? Raising and catching exceptions? Or, just get the return value and exit()?</li>
  </ul>