<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>When deserialize(serialize(x)) != x</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/10/when-deserialize-serialize-x-x.aspx</link><description>So here’s another random little piece of information that might help someone else out (or me 6 months from now)… As I’ve been rumbling about, lately I’ve been playing quite a bit with webservices and serialization—especially DataContract serialization—and</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: When deserialize(serialize(x)) != x</title><link>http://blogs.msdn.com/dsimmons/archive/2008/01/10/when-deserialize-serialize-x-x.aspx#7055410</link><pubDate>Thu, 10 Jan 2008 15:58:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7055410</guid><dc:creator>FrancoisTanguay</dc:creator><description>&lt;p&gt;Funny. I have the exact same code in my framework minus minor changes:&lt;/p&gt;
&lt;p&gt;1- I use Type.EmptyTypes instead of new Type[0]&lt;/p&gt;
&lt;p&gt;2- I dispose the MemoryStream when finished.&lt;/p&gt;
</description></item></channel></rss>