Initial implementation of the DataContractSerializer! It is lighter, faster, and more powerful than the XmlSerializer.

Notes:

Read below for sample code

Coming soon features (not yet supported): null values and nullable types, inheritance, specifying a custom Name with the DataMember attribute, and more.

Please note that, at the moment, if you wish to specify a custom namespace, you should use the following syntax: [DataContract2(Namespace: "http://...")] instead of: [DataContract(Namespace="http://...")]