title: How do I delete or reinitialize a 'new' variable?
body: <p>Before you report me for asking a commonly-asked question, hear me out.</p>
  
  <p>I am writing a program to read from a datalogger using C# and windows forms. Each of the channels can mean different things, such as lift, drag, and pressure. I plan to make these channels configurable. Here is how such a channel is initialized:</p>
  
  <pre><code>private Channel Lift_Channel = new Channel(1);
  </code></pre>
  
  <p>This initializes Lift_Channel as a Channel object that references channel 1 on the logger.</p>
  
  <p>However, the constructor method Channel(int) is the only method I can use to set the channel. If I want Lift_Channel to point to channel 2, I would like to do something like this.</p>
  
  <pre><code>delete Lift_Channel;
  Lift_Channel = new Channel(2);
  </code></pre>
  
  <p>I feel like if I can't delete Lift_Channel then recreate it, I will have memory leak errors because the Channel(1) data will be floating around.</p>
  
  <p>Any ideas?</p>