Tuple Class provides static methods for creating tuple objects. : Tuple « Data Types « VB.Net






Tuple Class provides static methods for creating tuple objects.

 

Module Example
   Public Sub Main()
   
      Dim primes = Tuple.Create(2, 3, 5, 7, 11, 13, 17, 19)
   End Sub
End Module

   
  








Related examples in the same category

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