JSON Serialization / Deserialization of DateTime Not Equal

I recently used the DataContractJsonSerializer to serialize a class. I noticed that for a DateTime field, the deserialized result appeared identical to the original value, but the equals operator failed.  The following simple program reproduced the problem. using System; using System.Runtime.Serialization.Json; using System.IO; using System.Runtime.Serialization; public static class JsonHandler { public static byte[] SerializeToJsonBytes(object obj)…

2