title: Get all months names between two given dates
body: <p>I am trying to make a function which gives all month name between two dates in c#<br/></p>
  
  <pre><code>List&lt;string&gt; liMonths = MyFunction(date1,date2);
  </code></pre>
  
  <p>my function is    </p>
  
  <pre><code>MyFunction(DateTime date1,DateTime date2)
  {
  
  //some code
  return listOfMonths;
  }
  </code></pre>
  
  <p>can you help me how could i do this</p>