Getting enumerate value
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/943398/enums-returning-int-value">Enums returning int value</a>  </p>
</blockquote>



<p>I want to numerate <code>"Stack"</code>, <code>"Overflow"</code> and <code>"Stackoverflow"</code>. Therefore I use enumerate.</p>

<pre><code>enum Status : int
{
     Stack = 1,
     Overflow = 2,
     StackOverflow = 3
}
</code></pre>

<p>But when I want to get value of Stack, I get <code>"Stack"</code>.</p>

<pre><code>int status = 0;
status = Status.Stack; //I want to assign 1 to status but Status.Stack returns "Stack"
</code></pre>

<p>How can I do it?</p>
