battle programmers alliance

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

 vb.net tuple type var

View previous topic View next topic Go down 
AuthorMessage
kurosen

avatar

Posts : 63
Join date : 2012-04-17

PostSubject: vb.net tuple type var   Sat Feb 28, 2015 12:57 pm

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
View user profile
 
vb.net tuple type var
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» What type of Fae are you?
» treatment for cervicogenic headache / doctors specializing in this type of headache
» Carly, an Autistic girl can type !
» Review: X-Type Plus (Wii U eshop)
» Animal Myers Briggs - What's your animal type?

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