Skip to main content

Type Design and Implementation

  • Chapter
Maximizing .NET Performance
  • 117 Accesses

Abstract

Designing types so that they interact well with the CLR and Framework Library requires some effort. When designing the interface of a type, and defining the type’s interaction with other types, modeling the problem domain is usually the highest priority. This is quite reasonable, and is one of the main benefits object-oriented programming offers. Taking a type whose semantics were developed from an analysis of the problem domain and getting it to work efficiently with the CLR is the subject of this chapter. Any type that can pass the tests of a compiler and be converted into intermediate language will enjoy a reasonable existence with other CLR types, but when efficiency and elegance are important design goals, conforming to CLR design patterns is an important consideration.

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 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.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.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Nick Wienholt

About this chapter

Cite this chapter

Wienholt, N. (2004). Type Design and Implementation. In: Maximizing .NET Performance. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0784-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0784-9_3

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-141-3

  • Online ISBN: 978-1-4302-0784-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics