O'Reilly logo

Effective C#: 50 Specific Ways to Improve Your C#, Third Edition by Bill Wagner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

Symbols

$ (dollar sign), interpolated strings, 20

? (question mark) operator, null conditional operator, 3334

{ } (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, 188190

create new exception classes for different, 234235

decouple iterations from, 151157

Add() generic method, 108

AddFunc() method, generic classes, 107108

Algorithms

create with delegate-based contracts, 109

loosen coupling with function parameters, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required