how to convert List<SomeType> to List<AnotherType>?
<p>I have two data types:</p>

<pre><code>class MyDataType {
    public int Id;
    private int Field;
    public String AnotherFieldOrProperty;
    // + there are some methods
}

class MyDataTypeDescriptor {
    public int Id;
    public String Description;
}
</code></pre>

<p>I need to convert <code>List&lt;MyDataType&gt;</code> to <code>List&lt;MyDataTypeDescriptor&gt;</code> such a way:
<code>MyDataTypeDescriptor.Id = MyDataType.Id</code>
<code>MyDataTypeDescriptor.Description = MyDataType.ToString()</code>;</p>

<p>I guess C# can do that very easy and fast in just one line of code, but I don't know how because I'm not familar with such advanced techniques. Would someone help me please?</p>

<p>Thanks</p>
