I was using ReSharper plugin on VS2010 and i was generating an interface method.
ReSharper put an @ on the parameter name. WHat is that used for?
int Count(Func<ContratoList, bool> @where);
Whats the difference for
int Count(Func<ContratoList, bool> where);
Thanks!
The
@symbol allows you to use reserved words in a variable name.As Marc correctly pointed out in his comment and his answer, ReSharper is actually wrong to do this because
whereis a Contextual Keyword and is not actually a reserved word, so your method will compile without the@.