Murach's C# 2008 How to work with indexers, delegates, events, and operators
Chapter 12 covers 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, define delegates, raise events, and overload operators.
|
|
|
|
The code for a simple ProductList
class |
384 |
|
The specifications for the enhanced
ProductList class |
386 |
|
|
How to create an indexer |
388 |
|
How to throw an argument exception |
390 |
|
|
How to define and use a delegate |
392 |
|
How to define and use events |
394 |
|
|
An introduction to operator overloading |
396 |
|
How to overload arithmetic operators |
398 |
|
How to overload relational operators |
400 |
|
|
The code for the ProductList class |
402 |
|
The code for the Product Maintenance
form |
406 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|
|
|