In C#, I have the following Class:
public class SQLColour
{
public string ID { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public string CorporateID { get; set; }
}
I have a List<SQLColour>
called List1 and a List<SQLColour>
called List2.
How can I return a List<SQLColour>
that has items that have an ID that exists in List1 but not in List2?
Thanks in advance