title: Enum values in a list
body: <p>I've a enum class like,</p>
  
  <pre><code>public enum USERTYPE
  {
     Permanant=1,
     Temporary=2,
  }
  </code></pre>
  
  <p>in my business object I just declare this enum as</p>
  
  <pre><code>private List&lt;USERTYPE&gt; userType=new List&lt;USERTYPE&gt;;
  </code></pre>
  
  <p>and in the get/set method, I tried like</p>
  
  <pre><code>public List&lt;USERTYPE&gt; UserType
      {
          get 
          {
              return userType;
          }
          set
          { 
              userType= value; 
          }
      }
  </code></pre>
  
  <p>here it returns the no of rows as 0, how can I get all the values in the Enum here, can anyone help me here...</p>