A
Anthony leong kar keong
Hi i would like to ensure some code cleaning methods.
#1 COM objects
Is the following the correct way ?
objMe = null;
#2 Dispose VS. null
Mydataset.dispose();
or
Mydatatset =null
#3 c# class objects
myobject Myinstance = new myobject();
....
...
Myinstance =null <--correct ?
very thank you and sharing is very much appreciated
#1 COM objects
Is the following the correct way ?
objMe = null;
#2 Dispose VS. null
Mydataset.dispose();
or
Mydatatset =null
#3 c# class objects
myobject Myinstance = new myobject();
....
...
Myinstance =null <--correct ?
very thank you and sharing is very much appreciated