|
-
Nov 29th, 2010, 02:32 PM
#1
Thread Starter
Frenzied Member
XML Node added by ref to a generic list?!
I have an XML node which I am adding to a generic list of xml nodes:
Code:
ListXml.Add(myXmlNode)
Now whenever I change the node afterwards, all members of the list turn into copies of the node. Why would the list keep track of this and more importantly how am I supposed to 'detach' my work node from that list?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|