Click or drag to resize

collectionExtensionstakeFirstFromListT Method (IEnumerableT, T)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Vraca prvi element koji je pronadjen u ulaznom skupu - default vraca prvi element matchList

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static T takeFirstFromList<T>(
	this IEnumerable<T> input,
	params T[] matchList
)
Request Example View Source

Parameters

input
Type: System.Collections.GenericIEnumerableT
matchList
Type: T

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. 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