Advertisement

Constructors and the Object Lifecycle

  • Richard Conway
  • Teun Duynstee
  • Ben Hyrman
  • Roger Rowland
  • James Speer

Abstract

Developers new to C# who have had experience in other object-oriented languages such as Java should not be surprised with the level of support for creating objects on the managed heap. Java developers have wallowed in the ideal that memory management is a function of the JVM and construction and destruction are managed processes that should be abstracted from the developer. The equivalent C++ developers, on the other hand, would have to manage memory themselves, which more often than not caused problems.

Keywords

Design Pattern Base Class Conversion Operator Static Constructor Public Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Apress 2003

Authors and Affiliations

  • Richard Conway
  • Teun Duynstee
  • Ben Hyrman
  • Roger Rowland
    • 1
  • James Speer
    • 2
  1. 1.British Computer Society, IEEE Computer SocietyInstitution of Analysts and ProgrammersUK
  2. 2.Charteris plcUK

Personalised recommendations