In Search of C# Canonical Forms

  • Trey Nash


Many object-oriented languages—C# included—don’t offer anything to force developers to create well-designed software. There is no better example of this than when using C++ to implement an OO design. C# is a little more structured than C++; for example, you cannot create free static functions that exist outside the context of a defined type. Still, C# doesn’t force you to create software that adheres to well-known practices of good software design.


Canonical Form Base Class Object Reference Semantic Meaning Reference Type 
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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 2.
    Full coverage of custom attributes in the.NET Framework is beyond the scope of this book. For more information, consult the MSDN Library documentation or any one of the fine books covering the CLR, such as Andrew Troelsen’s Pro C# with.NET 3.0 (Berkeley, CA: Apress, 2007).Google Scholar
  2. 8.
    For those of you curious about the curious name of this field, read about the Pimpl Idiom in Herb Sutter’s Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Exception-Safety Solutions (Boston: Addison-Wesley Professional, 1999).Google Scholar

Copyright information

© Trey Nash 2010

Authors and Affiliations

  • Trey Nash

There are no affiliations available

Personalised recommendations