title: SelectList for years
body: <p>This is probably really simple... I am trying to create a <code>SelectList</code> containing years from the current one, back until 2008. This will always be the case. For example, in the year 2020, my SelectList will contain values from 2020 - 2008.</p>
  
  <p>I set up this loop, but I'm not sure what the best place to go with this is</p>
  
  <pre><code>for (int i = currentYear; i != 2009; --i)
  {
  
  }
  </code></pre>
  
  <p>Is it possible to create a single <code>SelectListItem</code> and "add" it to a <code>SelectList</code> for each iteration?</p>
  
  <p>I don't think my statement above is possible, so my next thought was to create a list of years, then use LINQ to create it.</p>
  
  <pre><code>var selectList = ListOfYears.Select(new SelectListItem
  {
      Value =
      Text = 
  });
  </code></pre>
  
  <p>But then I'm not entirely sure how to get the value from the list.
  Thanks</p>