You can mark an object for collection and call GC.Collect();
Besides whats the big deal about it possibly not being collected as soon as all references to a heap object are gone? If the program...
Type: Posts; User: valaris
You can mark an object for collection and call GC.Collect();
Besides whats the big deal about it possibly not being collected as soon as all references to a heap object are gone? If the program...
Hehe yes i did, sorry.
Finalize() is called when an object is being deleted. It is in effect a destructor for C#, usually it's only used to free managed resources. Its syntax is also similar to C# as in ~ClassName();.
How about the fact that in theory, your code you write in C# should be language independent to other .net languages. IE a class you write in C# can be inherited from and expanded by a VB.net...