错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Object Lifetime

  • Konrad Kokosa,
  • Christophe Nasarre,
  • Kevin Gosse

摘要

The previous chapters describe the automatic .NET memory management quite comprehensively. Chapter 6 contains information about how objects are created, while Chapters 7 – 11 describe in detail how they are collected when no longer needed. However, there are some side mechanisms, without the description of which your knowledge would not be complete. In this chapter, we will focus on three such mechanisms. Although they exist separately and can be used independently, they are conceptually related to each other. All of them are about a common topic – the lifetime of the objects.