title: convert an enum to another type of enum
body: <p>I have an enum of for example '<code>Gender</code>' (<code>Male =0 , Female =1</code>) and I have another enum from a service which has its own Gender enum (<code>Male =0 , Female =1, Unknown =2</code>) </p>
  
  <p>My question is how can I write something quick and nice to convert from their enum to mine?</p>