# Tuple<T1,T2,T3>(T1, T2, T3) 构造函数

## 定义

``````public:
Tuple(T1 item1, T2 item2, T3 item3);``````
``public Tuple (T1 item1, T2 item2, T3 item3);``
``new Tuple<'T1, 'T2, 'T3> : 'T1 * 'T2 * 'T3 -> Tuple<'T1, 'T2, 'T3>``
``Public Sub New (item1 As T1, item2 As T2, item3 As T3)``

item1
T1

item2
T2

item3
T3

## 注解

``````var tuple3 = Tuple.Create("New York", 32.68, 51.87);
Console.WriteLine("{0}: lo {1}, hi {2}",
tuple3.Item1, tuple3.Item2, tuple3.Item3);
// Displays New York: lo 32.68, hi 51.87
``````
``````Dim tuple3 = Tuple.Create("New York", 32.68, 51.87)
Console.WriteLine("{0}: lo {1}, hi {2}",
tuple3.Item1, tuple3.Item2, tuple3.Item3)
' Displays New York: lo 32.68, hi 51.87
``````

``````var tuple3 = new Tuple<string, double, double>
("New York", 32.68, 51.87);
Console.WriteLine("{0}: lo {1}, hi {2}",
tuple3.Item1, tuple3.Item2, tuple3.Item3);
// Displays New York: lo 32.68, hi 51.87
``````
``````Dim tuple3 = New Tuple(Of String, Double, Double)("New York", 32.68, 51.87)
Console.WriteLine("{0}: lo {1}, hi {2}",
tuple3.Item1, tuple3.Item2, tuple3.Item3)
' Displays New York: lo 32.68, hi 51.87
``````