Related resources for nameof
  • Nameof in C#3/8/2024 2:16:37 PM. In C#, the nameof operator is a relatively recent addition to the language, introduced in C# 6.0. It provides a convenient way to obtain the name of a variable, type, or member as a string.
  • New Feature of C# 6.0: Nameof Operator9/5/2023 6:41:50 AM. In this article we will learn about the nameof operator, one of the new features of C# 6.0.
  • Nameof Operator: A New Feature of C# 6.06/3/2019 4:22:10 PM. C# nameof operator returns the unqualified string name of a variable, type, or member. In this article, we will learn how to use the nameof operator in C# code example.