Index

Numbers

0 (zero), ensuring 0 is valid state for value type, 2428

A

Abstract base classes

inheritance and, 73

when to use inheritance vs. interfaces, 7475

Abstract Clone() method, 128129

Abstract properties, 4

Accessors

add/remove, 88

implicit properties supporting, 810

as inexpensive operation, 2931

providing synchronized access to data, 34

source objects, 256

specifying, 45

add accessor

derived classes using, 108109

overview of, 88

Add() method

costs of dynamic typing, 261262

dynamic methods at runtime, 238

rewriting using lambda expressions, 231232

Aggregate(), of Enumerable class, 232

AggregateException, handling exceptions in parallel operations, 190194

Algorithms

anonymous types and, 4345

for computing square root, 197 ...

Get More Effective C# (Includes Content Update Program): 50 Specific Ways to Improve Your C#, 2nd edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.