In C#, how do I use struct like an enum?
<p>I have a struct that I am trying to use like an enum:</p>

<pre><code>public struct SQLDS_statementTypes
{
    public static string Select = "Select", 
        Update = "Update", Insert = "Insert", Delete = "Delete";
}
</code></pre>

<p>But it throw an error:  <strong>"Operator '==' cannot be applied to operands of type 'SQLDS_statementTypes' and 'string'"</strong> on this statement:</p>

<pre><code>if (statement == SQLDS_statementTypes.Update)
</code></pre>

<p>Is there anyway to solve this?</p>
