I am novice .NET and C# user. I am mainly C++, COM develoeper
I have written my first C# Windows applicaiton where I am using my COM
component.
in one of the C# method I have instantiated the global variable as below
public xyz.abc obj
public form1()
{
obj = new xyz.abc;
}
private void form1_Closing(object sender,
System.ComponentModel.CancelEventArgs e)
{
//cleanup code
// here I want to delete the global object called "obj".
// How can I do that. How .NET handles this.
}