title: What happens when I interrupt a C# console application with Control-C?
body: <p>What happens when I interrupt my C# console application with Control-C? </p>
  
  <p>Is the process killed? Is memory freed? Are <code>finally</code> blocks executed? What happens to database connections?</p>
  
  <p>Does any of this differ if the application is built for debug or release, or run inside/outside Visual Studio?</p>