I have two lists having large number of records for e.g. 300k in each list
List<string> list1,List<string> list2
i am trying to compare two lists and find the items which are in list1 but not in list2.
dbStudentList.Where(list2 => !actualStudentList.Any(list1 => list2.Name.Contains(list1))).Select(i => new { Row = i.RowNumber, Name= i.Name }).ToList();
The above query working fine if the lists having <100K only. is there any problem or limitation with above query?