Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Tuples
toTuple Class
toTuple Methods
ToTuple Method
ToTuple(T1) Method (IEnumerable)
ToTuple(T1, T2) Method (IEnumerable)
ToTuple(T1, T2, T3) Method (IEnumerable)
ToTuple(T1, T2, T3, T4) Method (IEnumerable)
ToTuple(T1, T2, T3, T4, T5) Method (IEnumerable)
ToTuple(T1) Method (IList)
ToTuple(T1, T2) Method (IList)
ToTuple(T1, T2, T3) Method (IList)
ToTuple(T1, T2, T3, T4) Method (IList)
ToTuple(T1, T2, T3, T4, T5) Method (IList)
toTuple
ToTuple
T1
,
T2
,
T3
Method (IEnumerable)
Convert an
IEnumerable
T
into a tuple of 3 members.
Namespace:
WhetStone.Tuples
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
Tuple
<T1, T2, T3>
ToTuple
<T1, T2, T3>(
this
IEnumerable
this
)
Parameters
this
Type:
System.Collections
IEnumerable
The
IEnumerable
T
to convert.
Type Parameters
T1
The type of the first tuple member.
T2
The type of the second tuple member.
T3
The type of the third tuple member.
Return Value
Type:
Tuple
T1
,
T2
,
T3
this
converted to a tuple.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
. 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
Reference
toTuple Class
ToTuple Overload
WhetStone.Tuples Namespace