Murach's C# - More skills for working with classes
In chapter 12, you learn the skills that you need whenever you create a C# class.
Now, this chapter shows you advanced techniques like how to create indexers, throw
argument exceptions, raise events, and overload operators. It also shows you how to
organize and document your classes so other developers can use them.
|
|
|
|
The Product and ProductList classes |
368 |
|
How to create an indexer |
370 |
|
How to throw argument exceptions |
372 |
|
How to define and use class events |
374 |
|
|
An introduction to operator overloading |
376 |
|
How to overload arithmetic operators |
378 |
|
How to overload comparison operators |
378 |
|
|
The code for the Product Maintenance
form |
382 |
|
The code for the Product class |
384 |
|
The code for the ProductList class |
384 |
|
|
Two ways to code two or more classes
in a single file |
388 |
|
How to work with namespaces |
390 |
|
How to add XML documentation to a class |
392 |
|
How to view XML documentation |
394 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|