In .NET, the “life cycle” of an object is the length of time between its creation and its destruction. In this chapter, we'll learn:
Fundamentals of Object Life Cycle
Fundamentals of .NET Garbage Collection
Management of Unmanaged Resources
Management of Memory Leaks
Fundamentals of Object Life Cycle
The life cycle of an object is simply the time between when an object is created in memory and when it is destroyed from it. Fundamentally, the life cycle of an object involves the following two steps:
Creation of an Object
Deletion of an Object