title: ArgumentOutOfRangeException parameter name: Index
body: <p>I keep getting this 'ArgumentOutOfRange exception non-negative number required, Parameter name: index', whenever I try to open the page and I can't seem to figure out where/how exactly the negative number is appearing.  Thank you all in advance!!</p>
  
  <pre><code>var months = data.OrderBy(x =&gt; x.ApproximatedStartDate).Select(x =&gt; x.Month).Distinct((x, y) =&gt; x == y).OrderBy(x =&gt; x).ToList();
  var upcomingMonths = months.GetRange(months.IndexOf(DateTime.Today.Month), months.Count - months.IndexOf(DateTime.Today.Month));
  </code></pre>
  
  <p>I'm getting the exception when the code reads the 'upcomingMonths' variable.</p>
  
  <p>stack trace:</p>
  
  <pre><code>[ArgumentOutOfRangeException: Non-negative number required. Parameter name: index]
  System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) +72
  System.Collections.Generic.List`1.GetRange(Int32 index, Int32 count) +4951591
  InitializeChartBC() 
  Page_Load(Object sender, EventArgs e)
  System.Web.UI.Control.OnLoad(EventArgs e) +103
  System.Web.UI.Control.LoadRecursive() +68
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3811
  </code></pre>