title: Getting collection of all members of a class
body: <p>I want to get the collection of all the members that are present in a class. How do I do that? I am using the following, but it is giving me many extra names along with the members.</p>
  
  <pre><code>Type obj  =  objContactField.GetType();
  MemberInfo[] objMember = obj.GetMembers();
  String name = objMember[5].Name.ToString();
  </code></pre>