public void Run() { { var cls = new MyClass { DateTimes = new List <DateTime> { DateTime.Now, DateTime.Now } }; var result1 = SerializeHelper.ToXml3(cls); Debug.WriteLine("\r\n\r\n{0}\r\n\r\n", (object)result1); } { var cls = new MyClass2 { DateTimes = new List <DateTime> { DateTime.Now, DateTime.Now } }; var result1 = SerializeHelper.ToXml3(cls); Debug.WriteLine("\r\n\r\n{0}\r\n\r\n", (object)result1); } { var cls = new MyClass3 { DateTimes = new List <DateTime> { DateTime.Now, DateTime.Now } }; var result1 = SerializeHelper.ToXml3(cls); Debug.WriteLine("\r\n\r\n{0}\r\n\r\n", (object)result1); } }
public void Run() { { var cls = new MyClass { DateTimes = new List<DateTime> { DateTime.Now, DateTime.Now } }; var result1 = SerializeHelper.ToXml3(cls); Debug.WriteLine("\r\n\r\n{0}\r\n\r\n",(object)result1); } { var cls = new MyClass2 { DateTimes = new List<DateTime> { DateTime.Now, DateTime.Now } }; var result1 = SerializeHelper.ToXml3(cls); Debug.WriteLine("\r\n\r\n{0}\r\n\r\n", (object)result1); } { var cls = new MyClass3 { DateTimes = new List<DateTime> { DateTime.Now, DateTime.Now } }; var result1 = SerializeHelper.ToXml3(cls); Debug.WriteLine("\r\n\r\n{0}\r\n\r\n", (object)result1); } }