title: How to get only specific field from the list
body: <p>I have an IEnumerable of Lesson objects:</p>
  
  <pre><code>IEnumerable&lt;Lesson&gt; filteredLessons
  </code></pre>
  
  <p>I convert it to a List through the following method:</p>
  
  <pre><code>ToList();
  </code></pre>
  
  <p>But I want the returned list to contain only the first property, <code>lessonid</code>, not all the <code>Lesson</code> properties. </p>
  
  <p>How can I get the data of specific property of the list instead of the objects?</p>