Generic List - Copy

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

Is there a way to make a copy of a Generic List so that if I remove
rows from the original they are not removed from the copy?
 
Yep, List<any_type> copiedList = sourceList.GetRange(0, sourceList.Count);

That did it. Thank you Alex!
 
Back
Top