title: How do I project an object into a list using Linq?
body: <p>I find myself always needing to thin out objects before sending them over the wire.</p>
  
  <p><strong>Background:</strong></p>
  
  <p><code>Position</code> is a heavy contender, which was generated by LINQ to SQL based off my table.  It stores the motherlode of data.</p>
  
  <p><code>SPosition</code> is a lightweight object, which stores <em>only</em> my latitude and longitide.</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code> List&lt;SPosition&gt; spositions = new List&lt;SPosition&gt;();
   foreach (var position in positions)  // positions = List&lt;Position&gt;
   {
      SPosition spos = new SPosition { latitude = position.Latitude, longitude = position.Longitude };
      spositions.Add(spos);
   }
  
   return spositions.SerializeToJson&lt;List&lt;SPosition&gt;&gt;();
  </code></pre>
  
  <p>How can I use some LINQ magic to clean this up a bit?</p>