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
Method (IList)
Convert an
IList
T
into a tuple of 1 member.
Namespace:
WhetStone.Tuples
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
Tuple
<T1>
ToTuple
<T1>(
this
IList
this
)
Parameters
this
Type:
System.Collections
IList
The
IList
T
to convert.
Type Parameters
T1
The type of the first tuple member.
Return Value
Type:
Tuple
T1
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
IList
. 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