Type.IsArray Property
.NET Framework (current version)
Gets a value that indicates whether the type is an array.
Assembly: mscorlib (in mscorlib.dll)
Implements
_Type.IsArrayThe IsArray property returns false for the Array class. It also returns false if the current instance is a Type object that represents a collection type or an interface designed to work with collections, such as IEnumerable or IEnumerable<'T>.
To check for an array, use code such as:
If the current type represents a generic type, or a type parameter in the definition of a generic type or generic method, this property always returns false.
This property is read-only.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: