TypeTraits.IsContainer

Declaration

public static bool IsContainer(Type type);

Parameters

type The type to test.

Returns

bool true if the given type is a container type; false otherwise.

Description

Returns true if the given type can be treated as a container. i.e. not primitive, pointer, enum or string.


Did you find this page useful? Please give it a rating: