Equivalent in c#?

  • Thread starter Thread starter THT
  • Start date Start date
hmm thats what i though- doesnt work though!
doesnt seem to be closing./killing the object....
 
hmm thats what i though- doesnt work though!
doesnt seem to be closing./killing the object....

We need some example code to into context what you want to do.

It also seems you don't fully understand managed code so I would reccomend you do some reading on the subject.

Post some code and we'll explain.
 
Setting it to null won't do anything other than dereference it in your code. The garbage collector will at clean it up and some point in the future. This is a key .Net concept, both VB and C#.
 
Back
Top Bottom