battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeSearchRegisterLog in
Share
 

 vb.net tuple type var

Go down 
AuthorMessage
kurosen
codding
codding
kurosen

Posts : 106
Join date : 2012-04-17

vb.net tuple type var Empty
PostSubject: vb.net tuple type var   vb.net tuple type var EmptySat Feb 28, 2015 8:57 am

Module Module1
Sub Main()
' Create tuple
Dim tuple As Tuple(Of Integer, String, Boolean) = _
New Tuple(Of Integer, String, Boolean)(798, "hadoken", False)
' tuple properties outputer
Console.WriteLine(tuple.Item1)
Console.WriteLine(tuple.Item2)
Console.WriteLine(tuple.Item3)
'tuple items appear to be read only
'tuple.Item2. = "souryuuken!"
Console.WriteLine(tuple.Item2)
'pause console
Console.ReadLine()
End Sub
End Module

'tuple items appear to be read only
'tuple.Item2. = "souryuuken!"
Back to top Go down
 
vb.net tuple type var
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: