title: Is unsafe C# garbage collected
body: <p>I was reading about memory leaks in managed code and wondered if it was possible to create this in C# unsafe code?</p>
  
  <pre><code>unsafe
  {
      while(true) new int; 
  }
  </code></pre>
  
  <p>I wasn't sure if this would be caught by the GC if this was running as unsafe code?</p>
  
  <p>Thanks</p>