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: https://gunnarpeipman.com/csharp-nameof/

Related Post

Leave a Reply

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