@ Operator in C#


Grammarly

More than 40 Lakhs Students and Professionals use Grammarly for their spell and grammar checks. You can register and try for free.

Although it is not the best practise , If you want use the reserve words and the variable name , you could use the @ prefixed before the variable name .

Below is a sample sourcecode that demonstrates the use of @ symbol.

 static void Main()
 {
            int @if = 10;
            MessageBox.Show(@if.ToString());
 }

Grammarly

More than 40 Lakhs Students and Professionals use Grammarly for their spell and grammar checks. You can register and try for free.
%d bloggers like this: