Summary

 
Chapter 3 - Object-Oriented C#
bySimon Robinsonet al.
Wrox Press 2002
  

In this chapter we have examined some of the features that C# offers that make writing classes and objects easier and allow them to have a more intuitive syntax. We also looked at how C# handles its memory management internally. This information is useful if we are to write high-performance code. We have examined how constructors and destructors allow you to specify how your objects should be initialized and what action, if any, should be taken to clean up resources when they are destroyed . We've considered how performance can sometimes be improved by defining structs instead of classes, and we've examined the syntactical convenience that is provided by operator overloads, indexers, and method overloads.

In the next chapter we look at some advanced C# programming topics, including exception and event handling.

  


Professional C#. 2nd Edition
Performance Consulting: A Practical Guide for HR and Learning Professionals
ISBN: 1576754359
EAN: 2147483647
Year: 2002
Pages: 244

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