S
Sin Jeong-hun
List<List<T>> a=param;
List<List<T>> b=a;
If I change b, then a is get changed. I want another copy of a, that is
completely independent of a. I used double-nested for loop to copy each
element manually. Is there any more efficent way to do that? Something
like,
List<List<T>> b=CreateClone(a);
Thanks.
List<List<T>> b=a;
If I change b, then a is get changed. I want another copy of a, that is
completely independent of a. I used double-nested for loop to copy each
element manually. Is there any more efficent way to do that? Something
like,
List<List<T>> b=CreateClone(a);
Thanks.