Possible Duplicate:
How do I clone a generic list in C#?
I want to copy a list to another in C#. The problem is that existing methods like copyto
creates a new list from another list. But if I make some changes to new list the old list also gets changed. Its because of their reference type behaviour. If there any way (apart from foreach
loop) to create a new list from another list which will not reference the same object