Click or drag to resize

collectionExtensionsGetCrossSectionTItem Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the cross section: only items that are in common to all collections

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static List<TItem> GetCrossSection<TItem>(
	this IEnumerable<TItem> first,
	IList<TItem>[] others
)
Request Example View Source

Parameters

first
Type: System.Collections.GenericIEnumerableTItem
The first.
others
Type: System.Collections.GenericIListTItem
The others.

Type Parameters

TItem
The type of the item.

Return Value

Type: ListTItem

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also