Contents

Contents

Syntactic Sugar

Contents

clip_image002
clip_image002

Well, I wish there was a way of getting away from SyntaticSugar static class initial point, and be able just to do plain code


Do(() => request.Headers = Headers).If(HeadersExist);

Or even better, this


(request.Headers = Headers).If(HeadersExist);

There’s always hope for next version of C# ;)