I have an array…and I need to exclude all the items in this array of string from the masterList.customField as shown below
string[] excludeItem = {"a","b","c"};
CustomDTO[] masterList = service.LoadMasterList();
masterList.Where(c=> masterList.customField NOT IN excludeItem
How do I achieve the NOT IN part above?
Assuming customField is a string: