title: How to destroy an object in C#
body: <p>How to destroy an object in a condition?
  for example:</p>
  
  <pre><code>Car c = new Car()
  if (something)
  //destroy car
  </code></pre>
  
  <p>I have tried to set the object to null but it didn`t work...</p>