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.

Chapter 13 More skills for working with classes
More skills for implementing class members 368
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
How to overload operators 376
An introduction to operator overloading 376
How to overload arithmetic operators 378
How to overload comparison operators 378
An enhanced version of the Product Maintenance application 382
The code for the Product Maintenance form 382
The code for the Product class 384
The code for the ProductList class 384
How to organize and document your classes 388
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




Murach's C#

Learn more about this book

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.