Is the following statement correct: each object has Finalize method, which is called during garbage collection?
Explanation
System.Object class has Finalize method defined, but it is ignored by CLR, so objects of all classes inherited from Object (unless they define Finalize method explicitly), are not considered to be finalizable, i.e. Finalize method is not called during garbage collection.
C#
C# Quiz
Learn C# Online

or Read more about C# Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback