public class People
{
public string Name;
public int Age; public People(string name, int age)
{
this.Name = name;
this.Age = age;
} public People Clone()
{
return new People(this.Name, this.Age);
}
} List<People> pList = new List<People>();
pList.Add(new People("A", ));
pList.Add(new People("B", ));
pList.Add(new People("C", )); List<People> pList2 = new List<People>(pList.Count);
// 拷贝
pList.ForEach(delegate(People item)
{
pList2.Add(item.Clone());
});