For example, if I have two objects(same class) that have more than 100 properties , and I'd like to compare if two objects' all properties are identical except "ID" property.
What's the best way to do it?
Okay... Maybe I described not too clear... I only want to compare public properties of two objects, so I think this one pretty much solved my issue. Loop Through An Objects Properties In C#