title: How do I change the value of a static readonly field using reflection in c#?
body: <p>The SetFields method in the fieldInfo class takes objects as the first parameter. Is there a way to change the value of the static readonly fields using reflection in C#?</p>
  
  <p>So far I have</p>
  
  <pre><code>var field = typeof(ClassName).GetField("FieldName",BindingFlags.Instance|BindingFlags.NonPublic);
  </code></pre>