title: Performance of calling a method using reflection
body: <p>What is the performance difference of calling a method using reflection vs. calling the method directly?</p>
  
  <p>Context details:
  I have a class, with some string properties and for certain properties I have to set the values to Lower case or to Upper case (and a bit of logic related to that).</p>
  
  <p>I have two options:</p>
  
  <ol>
  <li>either copy/paste the code for the 14 properties.</li>
  <li>or annotate those 14 methods and using reflection find them and call them (also using reflection).</li>
  </ol>
  
  <p>Of course with option 2. my code would much more readable and easy to maintain, but the question is about performance. I will have some millions (around 2-3) of instances and I would go with the reflection option, if the performance impact is not bigger than 20 seconds.</p>
  
  <p>Does anyone here have any experience with that? </p>