Loading
2 posts about nameof by 2 contributors.
Know nameof? Share what you know with developers who are learning it.
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.
In this article we will learn about the nameof operator, one of the new features of C# 6.0.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article