Advertisement
Albinutte

VB.NET HM

Feb 17th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.39 KB | None | 0 0
  1. Imports System.Collections.Generic
  2.  
  3. Module VBModule
  4.  
  5.     Sub Main()
  6.         Dim test As New Dictionary(Of Object, Object)
  7.         test.Add(0, 23)
  8.         test.Add(1, "hello")
  9.         test.Add(15, 34.5)
  10.         test.Add("mamma mia!", 42)
  11.        
  12.         Console.WriteLine(test.Item("mamma mia!") = 42)
  13.         Console.WriteLine(test.Item(1) = "hello")
  14.     End Sub
  15.  
  16. End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement