find ID in the List in linq C# code example Example: linq where id in list var result = _dataContext.table.Where(x => idList.Contains(x.Id));