I\'m trying to compare two objects at runtime using reflection to loop through their properties using the following method:
for C#:
C#
PropertyInfo property = ..... ParameterInfo[] ps = property.GetIndexParameters(); if (ps.Count() > 0) { if(obj.ToString().Contains("+")) { Debug.Write("object is multi-type"); } else { var propValue = property.GetValue(obj, null); .... } }