The nameof operator
The nameof
operator takes a class, method, property, field or variable and returns the string literal.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The nameof
operator takes a class, method, property, field or variable and returns the string literal.