title: Get a property from object
body: <p>I have a object that some of the properties can be encrypted (if there is information for it on the DB) or empty (if there is no information on the DB for it)</p>
  
  <p>For example, for the email, I'm doing it like this;</p>
  
  <pre><code>public string Email
  {
      get
      {
          if (String.IsNullOrEmpty(this.Email))
              return "";
          else
              return Crypto.Decrypt(this.Email, GlobalVars.VALID_KEY);
      }
      set
      {
          this.Email = value;
      }
  }
  </code></pre>
  
  <p>What I'm trying to accomplish by this is, when the value is set it will be a empty string or a encrypted string, and when I need the property it will pass me the empty string or the decrypt string</p>
  
  <p>On debug mode, I did put a pointbreak to check something on the object and when the VS was evaluating the object I got this error: </p>
  
  <blockquote>
    <p>The target process exited with code -2147023895 while evaluating the function ....Email.get</p>
  </blockquote>
  
  <p>any advices for this ?!</p>
  
  <p>Thanks in advance</p>