Index
Symbols
$ (dollar sign), interpolated strings, 20
? (question mark) operator, null conditional operator, 33–34
{ } (curly brackets), readability of interpolated strings, 20
< (less-than) operator, ordering relations with IComparable, 124
Numbers
0 initialization, avoid initializer syntax in, 49
A
Abrahams, Dave, 238
Action<>, delegate form, 28
Action methods
called for every item in collection, 152
naming, 222
writing to ensure no exceptions, 189
Actions
avoid throwing exceptions in, 188–190
create new exception classes for different, 234–235
decouple iterations from, 151–157
Add() generic method, 108
AddFunc()
method, generic classes, 107–108
Algorithms
create with delegate-based contracts, 109
loosen coupling with function parameters, ...
Get Effective C#: 50 Specific Ways to Improve Your C#, Third 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.