| EnumerateAsTuples(IEnumerable, IEnumerable) Method |
Enumerates the elements of two enumerations as tuples.
Namespace: TomsToolbox.EssentialsAssembly: 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
)
Public Shared Function AsTuples (
first As IEnumerable,
second As IEnumerable
) As IEnumerable(Of Tuple(Of Object, Object))
Parameters
- first IEnumerable
- The first collection.
- second IEnumerable
- The second collection.
Return Value
IEnumerableTupleObject,
ObjectTuples 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