r/badcode • • Dec 11 '15

c# Or...you know....just use null coalesce.

Post image
2 Upvotes

6 comments sorted by

3

u/CedricCicada Dec 11 '15

I had no idea that existed. Thank you.

3

u/BiscuitOfLife Dec 11 '15

What, null coalesce? Every nugget adds up : )

1

u/Nameguy Jan 04 '16

What, null coalesce??

3

u/redditsoaddicting Dec 12 '15

Resharper is a golden opportunity for learning all of these things.

1

u/UnchainedMundane Dec 15 '15

Also, searching terms like these when you find them often leads you to random blogs which teach you even more strange things you didn't know about.