Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Monday, May 19, 2014
LINQ Enumerable Except Example
C# > LINQ > Enumerable > Except Produces the set difference of two sequences Example double[] num1 = { 1.0, 1.1 , 1.2 }; double[] num2 = { 1.1 }; var onlyInNum1 = num1.Except(num2); foreach (double number in onlyInNum1)