Click or drag to resize

EnumerateAsTuples(IEnumerable, IEnumerable) Method

Enumerates the elements of two enumerations as tuples.

Namespace: TomsToolbox.Essentials
Assembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static IEnumerable<Tuple<Object, Object>> AsTuples(
	IEnumerable first,
	IEnumerable second
)

Parameters

first  IEnumerable
The first collection.
second  IEnumerable
The second collection.

Return Value

IEnumerableTupleObject, Object
Tuples of the elements.
Remarks
If the number of elements in each collection is different, the smaller collection determines the number of enumerated items.
See Also