Microsoft .NET Interview Questions and Answers
Question: What is a destructor?Answer: A C# destuctor is not like a C++ destructor. It is actually an override for Finalize(). Thisis called when the garbage collector discovers that the object is unreachable. Finalize() is called before any memory is reclaimed. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?