Quantcast
Viewing all articles
Browse latest Browse all 27099

VS 2008 XML reading creates two different object with same attributes

Hi, I have this class structure,
Method 1 in sample is referenced to method 1 in MethodList.
When serialize Config class to XML text, and read it back, method 1 in Sample is independent from method 1 in methodList,
One way I can come up with is after reading, check if equal, redo the reference.
But is there better way to resolve this problem?

Config
--Sample
----Method1

--MethodList
----Method1
----Method2



Thanks

Viewing all articles
Browse latest Browse all 27099

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>