title: C# - Cant convert var to List
body: <p>This code snippet returns me an error,</p>
  <pre><code>public List&lt;auto&gt; autoSelect()
  {
         return autoSelect(DateTime.Today);
  }
  public List&lt;auto&gt; autoSelect(DateTime date)
  {
         var onderhoudAuto = (from onderhoud in db.onderhouds 
                              where onderhoud.uitvoerdatum != DateTime.Today 
                              select onderhoud)
                            .FirstOrDefault();
         List&lt;string&gt; autos = (from auto in db.autos 
                               where auto.autoId.Equals(onderhoudAuto) 
                               select auto)
                              .FirstOrDefault();
         return autos;
  }
  </code></pre>
  <p>I tried convert the var to  a list with <code>.ToList();</code> although this doesn't work. Does anyone have any suggestions?</p>