itemprop = "text">
While coding in C #, I accidentally added a Straddle signature to the statement (instead of exclamation mark) instead of a statement .
bool b = false; If (@b) {}
I was surprised that it successfully compiled without any errors.
I wonder: what does the above code mean?
@
can be used to avoid those who identify, For example if you want to use keywords:
int @ class = 10; Of course, this is usually a bad idea to use keywords as an identifier, but if you are using those class libraries that are meant to be used by them, So it can be difficult to avoid that sometimes you can be useful to use "@this" for situations where you effectively to this
Want references, but for whatever reason you do not use one Su Can (These are very low and away, but I have seen it many times, and to know the least about it.)
Comments
Post a Comment