title: Use AutoMapper for equality testing?
body: <p>Suppose I have a class. For simplicity, let's assume its fields are all strings:</p>
  
  <pre><code>public class Book {
      public string Title {get;set;}
      public string Author {get;set;}
  }
  </code></pre>
  
  <p>I want to define two books as equal if and only if their corresponding fields have equal values. Furthermore, I want to do it in a way that if I added another string field later, (say Publisher), the equality test would check all fields, including the new one.</p>
  
  <p>I'm wondering if AutoMapper can do that. If not, is there a good way to do it?</p>
  
  <p>Obviously, in the long run, I'm also interested in cases where the fields have other types. But even doing it for strings would be a great start.</p>