I have a property on my `ViewModel` that is of type `IDictionary<string, string>`. I am going through the list of properties on that `ViewModel`and using reflection to determine if it is a dictionary.

Currently I have:

```
if (typeof(IDictionary).IsAssignableFrom(propDescriptor.PropertyType))

```

However, that is always false because `propDescriptor.PropertyType` is `IDictionary`2`. Any ideas how I can get that to work? Also, why isn't that working?

---

I just changed my property to be IDictionary instead of IDictionary. 

EDIT: Not sure where my generics went, but the second IDictionary in the sentence above has string, string.