Chapter 6. A Primer on Types and Objects

I have to admit, and colleagues will second, that I live and breathe type systems. Static typing is a great thing because you get feedback on invalid use of objects early on during compilation.

With the CLR type system centered on object-oriented programming concepts such as subtyping and virtual dispatch, you have a powerful tool at hand to deal with typing in a rich manner. When correctly used (especially since the advent of generics in .NET ...

Get C# 4.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.