D Doug Jul 20, 2007 #1 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?
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?
A Alex Meleta Jul 20, 2007 #2 Hi doug, Yep, List<any_type> copiedList = sourceList.GetRange(0, sourceList.Count); Regards, Alex [TechBlog] http://devkids.blogspot.com
Hi doug, Yep, List<any_type> copiedList = sourceList.GetRange(0, sourceList.Count); Regards, Alex [TechBlog] http://devkids.blogspot.com
D Doug Jul 20, 2007 #3 Yep, List<any_type> copiedList = sourceList.GetRange(0, sourceList.Count); That did it. Thank you Alex!
Yep, List<any_type> copiedList = sourceList.GetRange(0, sourceList.Count); That did it. Thank you Alex!