Backend line
nameof Operator
Compile-time names, refactoring safety, traps
1 sections
Start: The nameof Operator
Foundational
1
The nameof Operator
nameof(x) (C# 6) returns the simple, unqualified name of a variable, type, member or namespace as a compile-time constant string: nameof(order.Total) is "Total", nameof(List<int>) is "List". The expression is never evaluated, so thereā¦
, not read