Creates a new 1-tuple, or singleton. : Tuple « Data Types « VB.Net






Creates a new 1-tuple, or singleton.

 


Module Example
   Public Sub Main()

        Dim tuple1 = Tuple.Create(12)
   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.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.