ElementType

ElementType(Type)

public static Type ElementType(Type type) ;

Description

If it is an array it returns the type of the element.

Parameters

Parameter Name Description
type Type

Returns

If it is an array it returns the type of the element. Otherwise return type unchanged.