Skip to content

Instantly share code, notes, and snippets.

@rionmonster
Created April 18, 2017 15:36
Show Gist options
  • Save rionmonster/57d924dfe5afa4951fb0cf10691b2f4d to your computer and use it in GitHub Desktop.
Save rionmonster/57d924dfe5afa4951fb0cf10691b2f4d to your computer and use it in GitHub Desktop.
Should this be possible?
// This throws a "The type or namespace name 'Dictionary<,>' could not be found" compilation exception
Config.Settings = new Dictionary<string, string>()
{
{ "Foo", "Bar" }
};
@rionmonster
Copy link
Author

I've tried adding the appropriate using statements (e.g. using System.Collections.Generic, etc.) but it continually seems to throw this exception. Any ideas?

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