title: Get user created property from gettype
body: <p>I want to get the properties name from the class. <br>
  I am using <code>GetType()</code> to get the property name but it is showing including system generated property like ... parent</p>
  
  <pre><code> public  class Classtest : Activity
      {
          public int To { get; set; }
          public int From { get; set; }
      }
  
             Classtest testclass = new Classtest();
  
             foreach (Activity activity in testclass.Activities)
             {
                 Type type = activity.GetType();
                 PropertyInfo[] propertyInfo = type.GetProperties();
  
  
                 foreach (var p in propertyInfo)
                 {                  
                     Console.WriteLine(p.Name);
  
                     prpoertyCount--;
                 }
            }
  </code></pre>
  
  <p>Output I need only <code>From</code> and <code>To</code> property, but no system property like parent, name.</p>