Hi i am new to linq kindly pardon my bad keywords.
IList<Log> pendingLogs = rep.GetAllPending();
IList<Short> pendingMessageInQueue = PendingCommandModel.GetPendingMessagesIds();
I have two lists.
I want to remove items from pendingLogs
where item.Id exists in pendingMessageInQueue
.
I could also have used IEnumerable
if that is more appropriate in this case.