Skip to main content

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Apress

About this chapter

Cite this chapter

Conway, R., Duynstee, T., Hyrman, B., Rowland, R., Speer, J. (2003). Constructors and the Object Lifecycle. In: C# Class Design Handbook: Coding Effective Classes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1124-2_6

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-1124-2_6

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-257-1

  • Online ISBN: 978-1-4302-1124-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics