Skip to content

Instantly share code, notes, and snippets.

@VladD2
Last active November 15, 2017 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VladD2/bfc0f5603e8493b222b456775f349802 to your computer and use it in GitHub Desktop.
Save VladD2/bfc0f5603e8493b222b456775f349802 to your computer and use it in GitHub Desktop.
using System.Console;
using System.Collections.Generic;
def dic = Dictionary();
dic.Add("aaa", 123);
WriteLine(dic["aaa"]);
WriteLine(dic[42]); // error: dic has Dictionary[string, int] type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment