Is there a way to convert dynamic object to IEnumerable Type to filter collection with property.
dynamic data = JsonConvert.Deseri
If you are able to, the ideal solution is to specify the type when deserializing, so to avoid having to cast later. This is a lot cleaner than the approaches suggested above.
So if you have -
dynamic data = JsonConvert.DeserializeObject(response.Content);
Then simply change this to -
var data = JsonConvert.DeserializeObject>(response.Content);