<p>I would like to use <code>as</code> and <code>is</code> as members of an enumeration. I know that this is possible in VB.NET to write it like this:</p>

<pre><code>Public Enum Test
    [as] = 1
    [is] = 2
End Enum
</code></pre>

<p>How do I write the equivalent statement in C#?
The following code does not compile:</p>

<pre><code>public enum Test
{
    as = 1,
    is = 2
}
</code></pre>

Prefixing reserved words in C# is done with @.
```
```
public enum Test
{
    @as = 1,
    @is = 2
}
```
```