Be careful with Clone(): always read the MSDN documentation for the specific class you're working with - clone can be implemented as shallow copy for some types (for example, calling Clone() on arrays types creates a shallow copy).
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: How to copy a list to another?Threaded View
|
Click Here to Expand Forum to Full Width |