1
vote
Vote UpVote

naming – What’s the use/meaning of the @ character in variable names in C#? – Stack Overflow

The Wiert Corner – Duh, I always thought @ could only be used for strings. Not so: just like with the & in Delphi, you can use @ for identifiers too. The prefix “@” enables the use of keywords as identifiers, which is useful when interfacing with other programming languages. The character @ is not actually part of the identifier, so the identifier might be seen in other languages as a normal identifier, without the prefix. An identifier with an @ prefix is called a verbatim identifier. –jeroen via: naming – What’s the use/meaning of the @ character in variable names in C#? ...
Favorite? Off-Topic? jpluimers @ 2012-03-28 07:00

Statistics

Visits: 529
Votes: 1
Favorites: 0
Off-Topic: 1

Visits by Source

User Actions

Users who voted for this posting

Peter
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)