Check two object, of unknown type, for equality, comparing all their fields

后端 未结 2 1853
甜味超标
甜味超标 2021-01-13 22:58

I need to define a method to compare two different objects of a same type. The type of objects is not specific. The objects may be a DLL type, so I can\'t override Equ

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 23:23

    I have recently been told about this lib that will do exactly what you are wanting

    http://comparenetobjects.codeplex.com/releases/view/47978

提交回复
热议问题