title: efficiently creating List<ClassB> from List<ClassA>?
body: <p>I have objects from ClassA and want to use them to create objects of ClassB.  I know how to do that if I'm just dealing with one object at a time:</p>
  
  <pre><code>ClassA object1 = new ClassA();
  ClassB object2 = new ClassB(object1);
  
  class ClassA
  {
      public DateTime Timestamp;
      public double X;
      public double Y;
      public double Z;
  
      public ClassA()
      {
         // other stuff
      }
  }
  
  class ClassB
  {
      public DateTime Timestamp;
      public double X;
  
      public ClassB(ClassA A)
      {
          Timestamp = A.Timestamp;
          X = A.X;
      }
  }
  </code></pre>
  
  <p>However, I'm looking for the best way to do it with lists of objects.  I want to take the list of type ClassA, and create a list of type ClassB:</p>
  
  <pre><code>List&lt;ClassA&gt; list_of_classA = new List&lt;ClassA&gt;();
  List&lt;ClassB&gt; list_of_classB = ????
  </code></pre>