title: Extract two properties of a List<T> using LINQ in C#
body: <p>I have a list of <code>Line</code> classes. How can I extract the <code>P1</code> and <code>P2</code> properties of all the lines into <code>Points&lt;Point&gt;</code> list using LINQ?</p>
  
  <pre><code>public class Line
  {
      public Point P1;
      public Point P2;
  }
  
  var points = Lines.Select()?
  </code></pre>