11.07.2015 Views

Beginning C# 2008-from Novice-to-professional - A2Z Dotnet

Beginning C# 2008-from Novice-to-professional - A2Z Dotnet

Beginning C# 2008-from Novice-to-professional - A2Z Dotnet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■CONTENTSxv■CHAPTER 17 Learning About Other <strong>C#</strong> Techniques . . . . . . . . . . . . . . . . . . . . . 455Opera<strong>to</strong>rs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455Using Arithmetic Opera<strong>to</strong>rs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455Overloading the Opera<strong>to</strong>rs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460The go<strong>to</strong> Statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462.NET Generics Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463Using the type Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463Using the new Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465Using the class Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465Nullable Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466Partial Classes and Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468The Important Stuff <strong>to</strong> Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470Some Things for You <strong>to</strong> Do. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!