A String can be created as a verbatim string. Verbatim strings start with the @ symbol. The C# compiler understand this type of string as verbatim. Basically the @ symbol tells the string constructor to ignore escape characters and line breaks.
Example
String Str1 = "";
Str1 = "\\Root\Key\NewFolder";In the statement above, the compiler gives an error of "Unrecognized escape sequence", but if we write the code like this:str2 = @ "\\Root\Key\NewFolder";
Using @ for variable names that are keywords.
var @object = new object();
var @string = "Sumit";
var @if = Factor();