title: What would be the best way to implement change tracking on an object
body: <p>I have a class which contains 5 properties.</p>
  
  <p>If any value is assingned to any of these fields, an another value (for example IsDIrty) would change to true.</p>
  
  <pre><code>public class Class1
  {
      bool IsDIrty {get;set;}
  
      string Prop1 {get;set;}
      string Prop2 {get;set;}
      string Prop3 {get;set;}
      string Prop4 {get;set;}
      string Prop5 {get;set;}
  }
  </code></pre>