Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Destructor « Class Interface « C# / C Sharp
C# / C Sharp
Class Interface
Destructor
1.
Finalizable Disposable Class
2.
force the GC to invoke Finalize() for finalizable objects created in this AppDomain.
3.
the destructors are called bottom-up, which confirms the sequencing of destructors.
4.
Shows that stack unwinding in C# does not necessarily call destructors
5.
Illustrates a destructor
6.
Demonstrate a destructor