i generate a list of an Object called Exceptions :
public class Exceptions
{
public bool deleted { get; set; }
public DateTime OriginalDate { get; set; }
public DateTime StartUtc { get; set; }
public DateTime EndUtc { get; set; }
public Int32 NumParticipants { get; set; }
public String Subject { get; set; }
public String Location { get; set; }
}
List A got 2 Objects and List B got 3 Objects
I Expect a new List which shows me the difference between the two objects
i tried it with the following function:
var ListC = ListA.Except(ListB).ToList();
i get two objects in ListC which looks exactly like ListA.But i Expected the missing Object from List B.
what am I doing wrong?