TypeUtility.GetGenericArguments method

Gets an array of the generic type arguments for the specified type.

public static Type[] GetGenericArguments(this Type type)
parameter description
type The type.

Return Value

An array of the generic type arguments for the specified type.

See Also