Two a day keeps stagnation away
Using nameof operator in C#

Using nameof operator in C#

There’s one very useful and often overlooked operator in C#. It’s called nameof and its purpose is to return name of something. Although it is operator we can live without it may still commit to coding by pointing out some errors at compile time. Here’s how to use the nameof operator in practice.

Read more:

Leave a Reply

Your email address will not be published. Required fields are marked *