title: extract list of string from list of custom class
body: <p>i have a list(of custom class)</p>
  
  <p>and i want to extract a list of all 'name' String, from it, through linq</p>
  
  <p>I know how to do with a loop, but i need to get it with a linear, brief linq instruction.</p>
  
  <p>i've checked this help
  <a href="https://stackoverflow.com/questions/994854/c-sharp-extract-list-of-fields-from-list-of-class">C# Extract list of fields from list of class</a></p>
  
  <p>but i have problem in linq correct syntax</p>
  
  <p>in particular because i would like to extract a New List(Of String)</p>
  
  <pre><code>Class Student
      Sub New(ByVal NewName As String, ByVal NewAge As Integer)
          Name = NewName
          Age = NewAge
      End Sub
  
      Public Name As String
      Public Age As Integer
  End Class
  
  Public Sub Main
      Dim ClassRoom as New List(Of Student) From {New Student("Foo",33), New Student("Foo2",33), New Student("Foo3",22)}
      Dim OneStudent as Student = ClassRoom(0)
      Dim AllStudentsNames As New List(Of String) From {ClassRoom.Select(Function(x) x.Name &lt;&gt; OneStudent.Name).ToList}
  End Sub
  </code></pre>
  
  <p>But something wrong...</p>
  
  <p>Any help?</p>
  
  <p>P.S. Since c# it's close to vb.Net, also c# helps are well welcome.</p>