Gets an array of the generic type arguments for the specified type.
public static Type[] GetGenericArguments(this Type type)
An array of the generic type arguments for the specified type.