Select Columns runtime in LINQ LIST<>
<p>I have <code>List&lt;Employee&gt; listEmployees</code></p>

<p>I want to select some dynamic columns which are not known at compile time, like:</p>

<pre><code> var result = from l listEmployees
              select "" 
</code></pre>

<p>I tried <code>listEmployees.select("Name");</code></p>

<p>But it throws an error saying :</p>

<blockquote>
  <p>'System.Linq.Enumerable.Select(System.Collections.Generic.IEnumerable, System.Func)' cannot be inferred from the usage. Try specifying the type arguments explicitly.   </p>
</blockquote>

<p>How can I select columns runtime?</p>
