Geeks With Blogs
Paul's development blog Tidbits from Smart Client, Windows Forms, C#, .NET 2.0, XML, and related toys... July 2007 Entries
Serialize and deserialize objects as Xml using generic types in C# 2.0
I've been using Object<>Xml serialization in .NET based on this post for a while. I decided to enhance it a tad bit with some generics, so I could use it more broadly. Here's what I came up with: using System.Collections.Generic; using System.Text; using System.Xml; using System.IO; using System.Xml.Serialization; /// <summary> /// To convert a Byte Array of Unicode values (UTF-8 encoded) to a complete String. /// </summary> /// <param name="characters">Unicode Byte Array ......

Posted On Friday, July 20, 2007 8:35 AM

Copyright © Paul Whitaker | Powered by: