title: Individaul Asserts passes, but Assert at class instance fails
body: <p>My class definition is as below:</p>
  
  <pre><code>  public class Testing
  {
      public string account, order_id;
      public DateTime process_dt, exec_dt;
  }
  </code></pre>
  
  <p>Have 2 instances of the same class. My goal is to compare these 2 instances and if it passes, my test passes. Because of the dateTime fields, before the assertion I overwrite the time to a Date field so that the ticks match using:</p>
  
  <pre><code>exp.process_dt = exp.process_dt.Date;
  act.process_dt = act.process_dt.Date;
  exp.exec_dt = exp.exec_dt.Date;
  act.exec_dt = act.exec_dt.Date;
  </code></pre>
  
  <p>If I do individual asserts on all the class fields, all of them pass. But if I do a assert using class objects or Serialize the objects and do a compare, it always returns False. </p>
  
  <pre><code> Assert.AreEqual(actual, expData);
  </code></pre>
  
  <p>Could you guide me to What I am missing, any idea why individual asserts pass, but object asserts and Serialization matching fails. 
  Note: in the DateTime fields: InternalKind,Kind,DateData values don't match. InternalTicks and Ticks match. </p>
  
  <p>Language C#.</p>