System.TypeExtensionMethods.GetGenericArguments C# (CSharp) Method

GetGenericArguments() public static method

public static GetGenericArguments ( this type ) : System.Type[]
type this
return System.Type[]
        public static Type[] GetGenericArguments(this Type type)
        {
            return type.GenericTypeArguments;
            //throw new NotImplementedException();

        }
#endif