title: Compare list<object1> and list<object2>
body: <hr>
  
  <p>colDiffUpdated and colDiffTarget have different values, How can I add to colTypes the difference of the two list?</p>
  
  <blockquote>
    <p>assume each list have different values.</p>
  </blockquote>
  
  <pre><code>   public List&lt;columnTypes&gt; colType = new List&lt;columnTypes&gt;();
              public List&lt;coldiffTypes&gt; colDiffUpdated = new List&lt;coldiffTypes&gt;();
              public List&lt;coldiffTypesTarget&gt; colDiffTarget = new List&lt;coldiffTypesTarget&gt;();
  </code></pre>
  
  <blockquote>
    <p>this is the class where i store the value</p>
  </blockquote>
  
  <pre><code>public class columnTypes
      {
          public string tblName { get; set; }
          public string colName { get; set; }
          public int maxLength { get; set; }
          public string maxLengthStr { get; set; }
          public bool isUnique { get; set; }
          public bool isKey { get; set; }
          public System.Type dataType { get; set; }
          public bool isNullable { get; set; }
          public bool isAutoIncrement { get; set; }
          public string dataTypeName { get; set; }
          public int numericPrecision { get; set; }
          public int numericScale { get; set; }
      }
  
      public class coldiffTypes
      {
          public string tblName { get; set; }
          public string colName { get; set; }
          public int maxLength { get; set; }
          public string maxLengthStr { get; set; }
          public bool isUnique { get; set; }
          public bool isKey { get; set; }
          public System.Type dataType { get; set; }
          public bool isNullable { get; set; }
          public bool isAutoIncrement { get; set; }
          public string dataTypeName { get; set; }
          public int numericPrecision { get; set; }
          public int numericScale { get; set; }
      }
  
      public class coldiffTypesTarget
      {
          public string tblName { get; set; }
          public string colName { get; set; }
          public int maxLength { get; set; }
          public string maxLengthStr { get; set; }
          public bool isUnique { get; set; }
          public bool isKey { get; set; }
          public System.Type dataType { get; set; }
          public bool isNullable { get; set; }
          public bool isAutoIncrement { get; set; }
          public string dataTypeName { get; set; }
          public int numericPrecision { get; set; }
          public int numericScale { get; set; }
      }
  </code></pre>