What is the best way to compare two arbitrary dynamic objects for equality? For example these two objects.
I.e.
dynamic obj1 = new ExpandoObject(); obj1.
You have to implement IComparable-Interface. Then you have the appropriate functions needed from .NET/C# to compare two objects with each other.