The indexer into Dictionary throws an exception if the key is missing. Is there an implementation of IDictionary that instead will return de
Dictionary
IDictionary
de
If you are using ASP.NET MVC, you could leverage the RouteValueDictionary class that do the job.
public object this[string key] { get { object obj; this.TryGetValue(key, out obj); return obj; } set { this._dictionary[key] = value; } }