C# Programming/Keywords/nameof
Jump to navigation
Jump to search
The nameof
keyword returns the string name of the argument passed in to the method. Together, the typeof
and nameof
methods can often be used to return a fully-qualified name.
C# Keywords | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Special C# Identifiers (Contextual Keywords) | |||||||||||||||
| |||||||||||||||
Contextual Keywords (Used in Queries) | |||||||||||||||
|