battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 vb.net tuple type var

Go down 
AuthorMessage
kurosen

kurosen

Posts : 75
Join date : 2012-04-17

PostSubject: vb.net tuple type var   Sat 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
View user profile
 
vb.net tuple type var
Back to top 
Page 1 of 1
 Similar topics
-
» What type of Fae are you?
» Tests are not executing in correct order.
» How to select a text in iFrame and bold it?
» using type command in date picker field

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