Examveda

In C#, what is the method called automatically when an object is no longer referenced and is ready to be removed from memory?

A. Destructor

B. Finalize

C. Dispose

D. Garbage Collector

Answer: Option C


Join The Discussion

Related Questions on Classes and Objects in C Sharp