I want to do the equivalent of the following VB in c#
Function([class]) \"hello\"
This would be the same as this in c#
<
You can prefix any keyword with a @
.
But I don't think it's a recommended practice, and code analysis complains about it for sure.
You need to add @
to variable names:
@class
But it is a very bad practice. Every time you name your variable as a keyword a kitten dies :)
Use @ for reserved words:
@class=>"hello"