Skip to content

Instantly share code, notes, and snippets.

@stevehorn
Created March 2, 2011 20:53
Show Gist options
  • Save stevehorn/851722 to your computer and use it in GitHub Desktop.
Save stevehorn/851722 to your computer and use it in GitHub Desktop.
VB.Net Dictionary Initializer
'This language is tortured, I tell you
Dim variable As New Dictionary(Of String, Boolean) From {{"Dumb", True}, {"Idiotic", True}}
@kwhitefoot
Copy link

Thanks. I was tearing my hair out trying find this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment