title: How can i convert Linq var to List
body: <p>I am trying to convert the Linq var to List.my c# code is </p>
  
  <pre><code>private List&lt;HyperlinkInfo&gt; GetHyperlinkByCode()
  {
          TourInfoBusiness obj = new TourInfoBusiness();
          List&lt;HyperlinkInfo&gt; lst = new List&lt;HyperlinkInfo&gt;();
          lst = obj.GetAllHyperlink();
          //lst = lst.Select(x =&gt; x.Attraction).ToList();
          var k = lst.Select(x =&gt; x.Attraction).Distinct();            
  }
  </code></pre>
  
  <p>if you look at the above code till the Line var <code>k = lst.Select(x =&gt; x.Attraction).Distinct();</code> is ok Now can i convert var k to List.</p>