F
Frank
I have 2 objects that have the same complex structure and I would like
to know if a member has change and which one(s).
For example:
[Serializable]
public struct Person
{
public long m_nID;
public string m_strPrenom;
public string m_strNom;
}
If I have p1 and p2 which are Person, I would like a method like
p1.theMethod(p2) that returns an array of objects with the member(s)
and the value(s) where the values are different.
My structure is big, so I don't know if any method already exists in
dotnet?
Thanks,
Francois
to know if a member has change and which one(s).
For example:
[Serializable]
public struct Person
{
public long m_nID;
public string m_strPrenom;
public string m_strNom;
}
If I have p1 and p2 which are Person, I would like a method like
p1.theMethod(p2) that returns an array of objects with the member(s)
and the value(s) where the values are different.
My structure is big, so I don't know if any method already exists in
dotnet?
Thanks,
Francois