title: Create a property with predefined list of values C#
body: <p>I'm trying to do something like this:</p>
  
  <p>create some list of properties and values:</p>
  
  <pre><code>public class field_type
  {
      public static string NUMBER = "NUMBER";
      public static string VARCHAR = "VARCHAR";
      public static string BOOLEAN = "BOOLEAN";
      public static string DATE = "DATE";
  }
  </code></pre>
  
  <p>then use it as a type for another property:</p>
  
  <pre><code>public class field_definition
  {
      public string field_name;
      public string field_description;
      public field_type field_type;                 &lt;-- this one
      public string field_size;
      public bool primary_key;
      public bool auto_increment;
      public bool unsigned;
      public string default_value;
      public bool can_be_null;
  }
  </code></pre>
  
  <p>then use it like this:</p>
  
  <pre><code>List&lt;field_definition&gt; field_defs1 = new List&lt;field_definition&gt;();
  field_defs1.Add(new field_definition
  {
      field_type = 
  
  });
  </code></pre>
  
  <p>The point is when I hit space after equal symbol intellisense shows me the list of available values for this property, like it happens in VBA, is it possible?</p>