title: delete very big object in c#
body: <p>helo.
  I'm new to c# and I got the big picture with GC deleting objects that can't be reached by my code. The problem new is that I'm working with some big (7-40 MB) objects , the good thing is that I don't need them all at once so is ther any posible way to delet an object?
  I tried this:</p>
  
  <pre><code>- create big object X
  - use big object X
    X = null; /*so I don't have any referance to it any more*/
    GC.Collect();
    GC.WaitForPendingFinalizers(); - create next big object ....`
  </code></pre>
  
  <p>Does this guarantee that the big object will be deleted after the <code>GC.WaitForPendingFinalizers();</code> exits?</p>
  
  <p>I know that I should impromve my design to make the objects smaler but believe me I tried it and it makes the logic to complicated. If there is no other way I'll do it the the code will get 2 or 3 times bigger.</p>
  
  <p>thanks! </p>