title: System.Reflection GetProperties method not returning values
body: <p>Can some one explain to me why the <code>GetProperties</code> method would not return public values if the class is setup as follows.</p>
  
  <pre><code>public class DocumentA
  {
      public string AgencyNumber = string.Empty;
      public bool Description;
      public bool Establishment;
  }
  </code></pre>
  
  <p>I am trying to setup a simple unit test method to play around with</p>
  
  <p>The method is as follows and it has all the appropriate using statements and references.</p>
  
  <p>All I'm doing is calling the following but it returns 0</p>
  
  <pre><code>PropertyInfo[] pi = target.GetProperties(BindingFlags.Public | BindingFlags.Instance);
  </code></pre>
  
  <p>But if I setup the class with private members and public properties it  works fine.</p>
  
  <p>The reason I didn't setup up the the class the old school way was because it has 61 properties and doing that would increase my lines of code to at least triple that. I would be a maintenance nightmare.</p>