I have a dictionary
Dictionary<string, object> dict;
And i get values from it by typing
string foo = dict["foo"].ToString();
The dictionary is a serialized JSON result.
serializer.Deserialize<Dictionary<string, object>>(HttpContext.Current.Request["JSON"]);
What i would like to know if thers a way to convert it to an object, so i can type something like:
string foo = dict.foo;
Thanks