Skip to content

Instantly share code, notes, and snippets.

@LukaJCB
Last active February 6, 2017 11:52
Show Gist options
  • Save LukaJCB/2801f404fe983fe6981f7a7e4567a192 to your computer and use it in GitHub Desktop.
Save LukaJCB/2801f404fe983fe6981f7a7e4567a192 to your computer and use it in GitHub Desktop.
//mutable
int x = 1;
var y = new Dictionary<string, string>();
//immutable
const int a = 1;
const var b = new Dictionary<string, string>(); // Won't compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment