How to properly dispose of an object
- by VoodooChild
Hi Guys,
I am experiencing something weird and have a workaround already, but I don't think I understood it well.
If I call the Method below numerous times within a class:
public void Method()
{
Foo a = new Foo();
a.Delegate1Handler = ViewSomething();
}
So I am reinitializing "a" every time but for some reason a.Delegate1Handler is still…