forcing a variable to hold certain values only
<p>I am using vs 2012. I have a simple string property</p>

<pre><code> string _someString;

 public string MyString
  {
     get
       {
          return _someString;
       }

   }
</code></pre>

<p>I want this property to hold only certain values. So that when the client uses this property only those certain values can be used. </p>
