METHOD
Enumerable.Except
Returns distinct first-sequence values absent from the second.
Formal Syntax & Structure
csharp syntaxcsharp
first.Except(second, comparer)Working Example
Example Snippetcsharp
using System;using System.Linq;var q = new[] {1,2}.Except(new[] {2,3});