I have a generic list of objects in C#, and wish to clone the list. The items within the list are cloneable, but there doesn\'t seem to be an option to do list.Clone()
list.Clone()
For a shallow copy, you can instead use the GetRange method of the generic List class.
List oldList = new List( ); // Populate oldList... List newList = oldList.GetRange(0, oldList.Count);
Quoted from: Generics Recipes