title: Set one enum equal to another
body: <p>I have 2 enums in 2 different objects. I want to set the <code>enum</code> in object #1 equal to the <code>enum</code> in object #2.</p>
  
  <p>Here are my objects:</p>
  
  <pre><code>namespace MVC1 {
  
      public enum MyEnum {
          firstName,
          lastName
        }
  
     public class Obj1{
          public MyEnum enum1;
      }
     }
  
  
       namespace MVC2 {
  
      public enum MyEnum {
          firstName,
          lastName
        }
  
      public class Obj2{
          public MyEnum enum1;
        }
      }
  </code></pre>
  
  <p>I want to do this, but this wont compile:</p>
  
  <pre><code> MVC1.Obj1 obj1 = new MVC1.Obj1();
   MVC2.Obj2 obj2 = new MVC2.Obj2();
   obj1.enum1 = obj2.enum1; //I know this won't work.
  </code></pre>
  
  <p>How do I set the enum in Obj1 equal to the enum in Obj2? Thanks</p>