title: C# Converting List<int> to List<double>
body: <p>I have a <code>List&lt;int&gt;</code> and I want to convert it to a <code>List&lt;double&gt;</code>. Is there any way to do this other than just looping through the <code>List&lt;int&gt;</code> and adding to a new <code>List&lt;double&gt;</code> like so:</p>
  
  <pre><code>List&lt;int&gt; lstInt = new List&lt;int&gt;(new int[] {1,2,3});
  List&lt;double&gt; lstDouble = new List&lt;double&gt;(lstInt.Count);//Either Count or Length, I don't remember
  
  for (int i = 0; i &lt; lstInt.Count; i++)
  {
      lstDouble.Add(Convert.ToDouble(lstInt[0]));
  }
  </code></pre>
  
  <p>Is there a fancy way to do this?  I'm using C# 4.0, so the answer may take advantage of the new language features.</p>