title: How to get integer value and convert to string from enumeration?
body: <p>I have this class:</p>
  
  <pre><code>public class GameTypeModel
  {
      public string Value { get; set; }
      public string TransKey { get; set; }             
  }
  </code></pre>
  
  <p>I have this foreach:</p>
  
  <pre><code>GameType.Add(new GameTypeModel() { Value = "", TransKey = "ALL" });
  foreach (Game val in Enum.GetValues(typeof(Game)))
  {      
       GameType.Add(new GameTypeModel() { Value = value, TransKey = val.ToString() });
  }
  </code></pre>
  
  <p>I have this enumeration:</p>
  
  <pre><code>public enum Game 
  {
      [EnumMember]
      Terminal = 0, 
      [EnumMember]
      SportsBetting = 1,
      [EnumMember]
      LiveBetting = 2,
  }
  </code></pre>
  
  <p>How can i use this numbers and pass it to Value like a string?</p>