Tuple.Create(T1, T2, T3) Method creates a new 3-tuple, or triple. : Tuple « Data Types « VB.Net






Tuple.Create(T1, T2, T3) Method creates a new 3-tuple, or triple.

 

Module Example
   Public Sub Main()

        Dim tuple3 = Tuple.Create("New York", 12.34, 56.78)
        'Dim tuple3 = New Tuple(Of String, Double, Double)("New York", 12.34, 56.78)


   End Sub
End Module

   
  








Related examples in the same category

1.Tuple Class provides static methods for creating tuple objects.
2.Tuple(T1, T2) Class represents a 2-tuple, or pair.
3.Creates a new 1-tuple, or singleton.
4.Create Tuple with New operator
5.Tuple.Create(T1, T2) creates a new 2-tuple, or pair.
6.Tuple.Create(T1, T2, T3, T4) Method creates a new 4-tuple, or quadruple.