title: ASP.Net MVC 3.0 C# How to find if a property Exists?
body: <p>Hi i would like to check if a property exists?</p>
  
  <p>This is my code</p>
  
  <pre><code> string abpath=null;
      var hc= HttpContext.Current.Request.UrlReferrer;
      if (hc.AbsolutePath !=null)
      {
          var _temp = HttpContext.Current.Request.UrlReferrer.AbsolutePath;
          abpath = _temp.ToString();
      }
  </code></pre>
  
  <p>I would like to Find out if <strong>AbsolutePath</strong> exists</p>
  
  <p>can any one help me how to check.
  right now it throws error as AbsolutePath doesn't exists to check</p>
  
  <p>Thanks for your time</p>