Marc

Marc

  • NA
  • 205
  • 54.1k

Dispose a variable

Nov 17 2014 10:34 AM
Wondering how I can dispose of a variable.  If this is my code...
 
string myCode = GetMyCode();
 
myCode.Dispose(); // this is what I am trying to do
 
What is the best way of disposing this variable because I don't want it to stay in memory because of its sensitivity. 
 

Answers (1)