What does placing a @ in front of a C# variable name do? [duplicate]

It’s just a way to allow declaring reserved keywords as vars.

void Foo(int @string)

Leave a Comment