How to compare two List<MyObject1> with List<MyObject2>?
So if one the Value has different value it should be possible to check it.
(I know we can use foreach… But I’d like LINQ solution/)
Thank you!
public sealed class MyObject1
{
public string Name { get; set; }
public string Value { set; get; }
public Guid ID { get; set; }
}
public sealed class MyObject2
{
public string Name { get; set; }
public string Value { set; get; }
public Guid ID { get; set; }
}
now
you can equate 2 ways :