C# Error
CS1646 – Keyword, identifier, or string expected after verbatim specifier: @
Reason for the Error & Solution
Keyword, identifier, or string expected after verbatim specifier: @
See string literals for the usage of the verbatim specifier ‘@’. The verbatim specifier is only allowed before a string, keyword or identifier. To resolve this error, remove the @ symbol from any inappropriate place or add the intended string, keyword or identifier.
The following sample generates CS1646:
// CS1646
class C
{
int i = @5; // CS1646
// Try this line instead:
// int i = 5;
}