Index
Numbers
0 (zero), ensuring 0 is valid state for value type, 24–28
A
Abstract base classes
inheritance and, 73
when to use inheritance vs. interfaces, 74–75
Abstract Clone() method, 128–129
Abstract properties, 4
Accessors
add/remove, 88
implicit properties supporting, 8–10
as inexpensive operation, 29–31
providing synchronized access to data, 3–4
source objects, 256
add accessor
derived classes using, 108–109
overview of, 88
Add() method
costs of dynamic typing, 261–262
dynamic methods at runtime, 238
rewriting using lambda expressions, 231–232
Aggregate(), of Enumerable class, 232
AggregateException, handling exceptions in parallel operations, 190–194
Algorithms
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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.