Produces the set difference of two sequences by using the specified key to compare values.
Namespace: CodeJam.CollectionsAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IEnumerable<TSource> ExceptBy<TSource, TKey>( this IEnumerable<TSource> first, IEnumerable<TSource> second, Func<TSource, TKey> keySelector )
VB
<ExtensionAttribute> Public Shared Function ExceptBy(Of TSource, TKey) ( first As IEnumerable(Of TSource), second As IEnumerable(Of TSource), keySelector As Func(Of TSource, TKey) ) As IEnumerable(Of TSource)
F#
[<ExtensionAttribute>] static member ExceptBy :