Possible Duplicate:
What does placing a @ in front of a C# variable name do?
I am trying to learn C# lambda expressions. As I search for examples I am seeing the below code
Where(@t => string.Compare(@t.Code, argument.Code, StringComparison.CurrentCultureIgnoreCase) == 0)
I am wondering what does the ‘@’ symbole before the t mean?
Nothing unusual. You can prefix varible names with @ as a sort of escape if the varible is a key word.
For example you can also do ‘var @class = 5’ . Normally you’d not be able to compile as class is a keyword, but prefixing with @ allows you to use it as a varible.