|
Class firstClass
{
public string statusId{get; set;}
public string Name{get; set;}
public ICollection <secondClass> collectionOfSecondClass {get; set;}
}
Class secondClass
{
public string Id{get; set;}
public firstClass firstClassInstance {get; set;}
}
When I try to compare two Objects of classA, the firstClassInstance(property of secondClass) property of the child class is not compared.
|