title: Create List with only one class member
body: <p>I have a list of this class:</p>
  
  <pre><code>public class Data
  {
     public string name {get; set;}
     public int width {get; set;}
  }
  </code></pre>
  
  <p>And I want to make a method that return a list of only the name property. Like this:</p>
  
  <pre><code>public List&lt;string&gt; GetAllNames()
  { return MyDataList&lt;name&gt;.ToList(); }
  </code></pre>
  
  <p>So, if I have this list:</p>
  
  <ol>
  <li><code>name</code> = Jon - <code>width</code> = 10</li>
  <li><code>name</code> = Jack - <code>width</code> = 25</li>
  </ol>
  
  <p>I want the following list:</p>
  
  <ol>
  <li><code>name</code> = Jon</li>
  <li><code>name</code> = Jack</li>
  </ol>
  
  <p>Is it possible?</p>