Vidyalelo
C# Programming · Q32

Classes and Objects in C Sharp

Programming · C# Programming · question 32

Q32

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
Answer
D.
Garbage Collector

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board