ValueTuple::Create<T1> Method (T1)
Creates a new value tuple with 1 component (a singleton).
Assembly: mscorlib (in mscorlib.dll)
Parameters
- item1
-
Type:
T1
The value of the value tuple's only component.
Type Parameters
- T1
The type of the value tuple's only component.
Create<T1> is a helper method that you can call to instantiate a 1-component value tuple without having to explicitly specify the type of its component.
.NET Framework
Available since 4.7
Available since 4.7
Show: