Get parent of class of instance
Another answer is simply that instance.GetType().BaseType
returns the base Type of class o parent class.
instance.GetType().BaseType.GetGenericArguments()[0]
can throw an exception.
instance.GetType().BaseType.GetGenericArguments()[0]