IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnumerableFns Class : Intersect<TSource,TResult> Method |
'Declaration
<ExtensionAttribute()> Public Shared Function Intersect (Of TSource,TResult)( _ ByVal first As IEnumerable(Of TSource), _ ByVal second As IEnumerable(Of TSource), _ ByVal selector As Func(Of TSource,TResult) _ ) As IEnumerable(Of TSource)
'Usage
Dim first As IEnumerable(Of TSource) Dim second As IEnumerable(Of TSource) Dim selector As Func(Of TSource,TResult) Dim value As IEnumerable(Of TSource) value = EnumerableFns.Intersect(Of TSource, TResult)(first, second, selector)
[Extension()] public static IEnumerable<TSource> Intersect<TSource,TResult>( IEnumerable<TSource> first, IEnumerable<TSource> second, Func<TSource,TResult> selector )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2