I am trying to check if a type implements the generic ICollection<T> interface, since this is a base interface for any of my generic collections.
The below code doesn't work
GetType(ICollection(Of)).IsAssignableFrom(
objValue.GetType().GetGenericTypeDefinition())
What's a good way of detecting if a type implements a generic interface?