Logo

Programming-Idioms

History of Idiom 8 > diff from v60 to v61

Edit summary for version 61 by Jak Drako:
New VB implementation by user [Jak Drako]

Version 60

2019-09-29, 17:27:02

Version 61

2019-09-30, 11:56:46

Idiom #8 Initialize a new map (associative array)

Declare a new map object x, and provide some (key, value) pairs as initial content.

Idiom #8 Initialize a new map (associative array)

Declare a new map object x, and provide some (key, value) pairs as initial content.

Extra Keywords
table dictionary hash
Extra Keywords
table dictionary hash
Code
Dim x = New Dictionary(Of String, Integer) From {{"one", 1}, {"two", 2}, {"three", 3}}