Set Operators-Except
The Except operator produces the set difference between two sequences.
This example prints numbers that are in one integer array, but not another. The example uses Except to create a sequence that contains the values from numbersA that are not also in numbersB.
using System; namespace ConsoleApplication4 IEnumerable<int> aOnlyNumbers = numbersA.Except(numbersB); Console.WriteLine("Numbers in first array but not second array:"); Console.ReadLine(); |
Output:
Aspnet Discussion
- - Web application
- - Great Indian Developer Su
- - Aspx page inside Silverli
- - Open aspx page inside Sil
- - Guidance for a novice





