Comparing two lists which has lists within them

前端 未结 1 1887
Happy的楠姐
Happy的楠姐 2021-01-28 20:30

I have a class Cars and class Models. Car has many properties such as CarId and List. Models has has various properties such as ModelID, Color, Make.

1条回答
  •  北海茫月
    2021-01-28 21:31

    I think you want to implement the IEqualityComparer, to add a custom compare function to your Models class

    0 讨论(0)
提交回复
热议问题