" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Using Keywords as Identifiers in C#.NET

Posted on November 23rd, 2015 by Sibabrata Dash

In C# We cannot use a Keywords as an Identifier since the former is predefined and has special meaning to the compiler whereas an identifier is user-defined. However, we can use a keyword as user-defined identifier by appending “@” (at) or “_” (underscore) characters. For example: if we write Class class //Conflict error   It […]