i have two collections of the same objects (same size list of course). items can be matched by an IEqualityComparer (matching on a unique property of the object).
I want to generate a new list out of these existing lists that just show the field differences of each of the "same" items from each collection. I was thinking of doing something like this
List<ObjectFieldDiff> list = CalcList(origList1, origList2);
where
public class ObjectFieldDiffs
{
public List<FieldDiff> FieldDiffs;
}
public class FieldDiff
{
public string PropertyName;
public string Object1Value;
public string Object2Value;
}
does this make sense. any suggestions?