mercredi 13 mars 2019

i have a complex object. i want to compare two similar object structure and list the Difference

I have two complex object. i want to compare two similar object structure and list the Difference. i have searched in all forums there is no correct Solution. every one is suggesting Reflection method.reflection method is not helping me i tried it. my object structure is too complex.

the below is my object Structure. the object contain in the list may not be in the same order in other list. one list might have that object, another object might not have that list.

Structure:

object
   -Field
  -Field
  -Field
 List
 -Object
 -object
 -object
   -List
     -object
     -Field
     -Field
-object
     -Field
     -Field
    -Field
    -Field
    -List
     -object
     -Field
     -Field
     -object
-Field
-Field

Aucun commentaire:

Enregistrer un commentaire