Re: The @ symbol
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Wed, 15 Feb 2006 19:20:44 -0000
Brian Gideon <briangideon@xxxxxxxxx> wrote:
In addition to what others have said it can also be used on identifiers
to allow language keywords as names. It's not something you see very
often though. For example, a VB.NET developer could decide that the
identifier "sealed" would be a good name for a property not knowing
that it is a keyword in C#. A C# developer using the VB.NET code would
need to qualify it with an @.
Of course, anyone following the .NET naming conventions would
automatically avoid all C# keywords because all keywords in C# are in
lower-case, and all non-private members in the .NET naming conventions
are PascalCased :)
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- References:
- The @ symbol
- From: knowthediff
- Re: The @ symbol
- From: Brian Gideon
- The @ symbol
- Prev by Date: Re: CSharp inside an ActiveX dll within IE
- Next by Date: Re: One last question about ASP.NET 1.1 application recycling, load time and other boring stuff
- Previous by thread: Re: The @ symbol
- Next by thread: Data Abstraction Layer SQL/Foxpro
- Index(es):
Relevant Pages
|