Tag: nameof

Microsoft Visual Studio

Visual Studio: Regular expression to apply NameOf operator

The introduction of the nameof operator in C# and NameOf in Visual Basic.NET has made it easier to refactor large sections of code. If you have existing code with manually supplied variable names as string literals, the values should be updated with the new operator to improve the readability. A nameof expression in C# outputs the […]

Back To Top

Subscribe to our newsletter