Wednesday 29 July 2015

My favourite C# 6 trick


The nameof operator is awesome! Now even your string constants can be codified!

Between the nameof operator and localized string resources, you don't have much excuse anymore to use naked string literals.

No comments: