Is there a short way of converting a strongly typed System.Collection.Generic.List to an array of the same type, eg: List to MyClass[]?
By short i mean one method call, or at least shorter than:
MyClass[] myArray = new MyClass[list.Count];
int i = 0;
foreach (MyClass myClass in list)
{
myArray[i] = myClass;
}