Skip to content

Instantly share code, notes, and snippets.

@jskeet
Created October 27, 2022 09:32
Show Gist options
  • Save jskeet/7a22d3ff204047fe1868ad8b9524823f to your computer and use it in GitHub Desktop.
Save jskeet/7a22d3ff204047fe1868ad8b9524823f to your computer and use it in GitHub Desktop.
Imports System
Module Program
Sub Main(args As String())
Dim upload As Dictionary(Of (Long, Long, Long), Long) = New Dictionary(Of (Long, Long, Long), Long)
upload.Add((1, 2, 3), 5)
End Sub
End Module
@ay0ks
Copy link

ay0ks commented Jan 6, 2023

You can do Dim upload = New Dictionary(Of (Long, Long, Long), Long)() instead of Dim upload As Dictionary(Of (Long, Long, Long), Long) = New Dictionary(Of (Long, Long, Long), Long)

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