title: How can you redefine a property using in reflection in C#?
body: <p>Let's assume we have the following class:</p>
  
  <pre><code>public class tx_fct
  {
  
      int _ok;
  
      public int ok 
      {
          get
          {
              return _ok;
          }
          set
          {
              _ok = value;
          }
      }
  }
  </code></pre>
  
  <p>How can I override the getter using reflection? </p>
  
  <p>The getter doesn't seem to be in <code>tx_fct1.ok.GetType().GetMethods()</code>. </p>
  
  <p>When I do get access to the getter, how do I insert my own getter code?</p>