Mark R. Dawson <Ma*********@discussions.microsoft.com> wrote:
you can use the @ symbol to use reserved keywords as variable names /
methods etc. So you could have a variable called string or other things like
that. i.e.
<snip>
It should be noted, by the way, that this should be avoided wherever
possible. It's really available so that you can use code written in
other languages with different keywords, which may have used a C#
keyword as an identifier. It would be madness to write your own C# code
which deliberately used keywords as identifiers.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too