listA.Except(listB)
will give you all of the items in listA that are not in listB
More Related Contents:
- Simultaneous equations in C# LINQ [closed]
- Returning IEnumerable vs. IQueryable
- LINQ to Entities does not recognize the method ‘System.String ToString()’ method, and this method cannot be translated into a store expression
- Is a LINQ statement faster than a ‘foreach’ loop?
- How to Count Duplicates in List with LINQ
- How do I find the text within a div in the source of a web page using C#
- LINQ Select Distinct with Anonymous Types
- LINQ Orderby Descending Query
- Equivalent of SQL ISNULL in LINQ?
- How to get the closest number from a List with LINQ?
- Multiple Order By with LINQ [duplicate]
- Extension methods syntax vs query syntax
- Conversion from List to array T[]
- C# Linq Where Date Between 2 Dates
- Linq OrderBy does not sort a List. How do I sort the list?
- How do I create an expression tree calling IEnumerable.Any(…)?
- Convert string to int array using LINQ [duplicate]
- Get Average Using LINQ
- LINQ: From a list of type T, retrieve only objects of a certain subclass S
- Dynamically cross-join multiple different-size collections together in Linq (C#)
- Read Csv using LINQ
- How to merge a list of lists with same type of items to a single list of items?
- Split an IEnumerable into fixed-sized chunks (return an IEnumerable where the inner sequences are of fixed length) [duplicate]
- Linq “Could not translate expression… into SQL and could not treat it as a local expression.”
- How to convert DataTable to class Object?
- how do access previous item in list using linQ?
- Is it possible to perform joins across different databases using LINQ?
- Accessing System Databases/Tables using LINQ to SQL?
- How to merge two lists using LINQ?
- C# Linq to SQL: How to express “CONVERT([…] AS INT)”?