Tuple2CreateT1, T2 Method (T1, T2) |
Creates a new tuple value with the specified elements. The method
can be used without specifying the generic parameters, because C#
compiler can usually infer the actual types.
Namespace: SystemAssembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax public static Tuple2<T1, T2> Create<T1, T2>(
T1 item1,
T2 second
)
Parameters
- item1
- Type: T1
First element of the tuple - second
- Type: T2
Second element of the tuple
Type Parameters
- T1
[Missing <typeparam name="T1"/> documentation for "M:System.Tuple2.Create``2(``0,``1)"]
- T2
[Missing <typeparam name="T2"/> documentation for "M:System.Tuple2.Create``2(``0,``1)"]
Return Value
Type:
Tuple2T1,
T2A newly created tuple
See Also