title: How to make C# application crash
body: <p>I want to test if my application crash dump can be debugged. But firstly, I need to generate a crash dump of my application. I'm using C# to code my app, and have tried with many exceptions and unsafe code etc. but don't get it. </p>
  
  <p>Thanks! </p>
  
  <p><strong>Edit:</strong> Sorry, Just forgot something, I'm making the application with Unity3D, which handles exceptions for me automatically.</p>
  
  <p><strong>Edit 2:</strong> Thanks all for your answers. I've tested your suggestions in a standard C# application and it all works fine, but not in my Unity3D application (written with C#). It seems like Unity3D requires more effort to cause a crash, I might email Unity3D to get a answer. I will post here if I get it. Cheers!</p>