title: Setting enum value at runtime in C#
body: <p>Is there any way that I can change <code>enum</code> values at run-time?</p>
  
  <p>e.g I have following type</p>
  
  <pre><code>enum MyType
  {
     TypeOne, //=5 at runtime 
     TypeTwo  //=3 at runtime
  }
  </code></pre>
  
  <p>I want at runtime set 5 to <code>TypeOne</code> and 3 to <code>TypeTwo</code>.</p>