// and elsewhere in the classSomeType someInstance = _dictionary[key.ToLower()];

It's nice to see people worrying about case insensitivity (provided that's what you want) but there's an even better way to do it. You can specify a comparer in the constructor of the dictionary like so: