User527076549 posted
HI...
I want to know if v can compare objects which are not in same order and does not have same length as well ??
class Mylcass
{
public string propA { get; set; }
public string ProbB { get; set; }
public string probC { get; set; }
}
And two IEnumerable Collecction object of class Myclass.
Scenario1.
collection1 - {proprty A, property C}
collection2 -{property A,B,C}
when i try to compare these two object-> collection1.propertyC compared with collection2.propertyB. ,To avoid this i wanted to add null object of Myclass ,in collection at index 1.
Is it possible. Is there any was i can sort collection ? Hope you guys can understand my question ?
Thanks in advance.