Summary


This chapter has focused on the many techniques and principles we need to know to be able to create and destroy objects. This has included knowledge of the managed heap and garbage collector as well the semantics necessary to chain and overload constructors. Different forms of initialization and creation were covered including the use of object cloning, deserialization, and conversion operators. The chapter ended with a look at creational design demonstrating how it can be used to alter the object creation process making it more efficient and abstract and how object creation can be optimized for performance.




C# Class Design Handbook(c) Coding Effective Classes
C# Class Design Handbook: Coding Effective Classes
ISBN: 1590592573
EAN: 2147483647
Year: N/A
Pages: 90

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net