Vidyalelo
C# Programming · Q23

Classes and Objects in C Sharp

Programming · C# Programming · question 23

Q23

In C#, what is the method called automatically when an object is no longer in use and is being destroyed?

A.
Destructor
B.
Finalizer
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