title: Good samples of using Finalizers in C#
body: <p>When I read a few articles about memory management in C#, I was confused by Finalizer methods.</p>
  
  <p>There are so many complicated rules which related with them. 
  For instance, nobody knows when the finalizers will be called, they called even if code in ctor throws, CLR doesn't guarantee that all finalizers be called when programs shutdowt, etc.</p>
  
  <p>For what finalizers can be used in real life?</p>
  
  <p>The only one example which I found was program which beeps when GC starts.</p>
  
  <p>Do you use Finalizers in your code and may  have some good samples ? </p>
  
  <p><strong>UPD:</strong></p>
  
  <p>Finalizers can be used when developpers want to make sure that some class always disposed correctly through IDisposable. (<a href="http://msdn.microsoft.com/en-us/magazine/cc163324.aspx" rel="noreferrer">link</a> ; Thanks <strong>Steve Townsend</strong>)</p>