Show / Hide Table of Contents

Class ArrayExtensions

Providers extensions for Array type.

Inheritance
object
ArrayExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public static class ArrayExtensions

Methods

View Source

GetLength(Array)

Gets length of the array.

Declaration
[CLSCompliant(false)]
public static nuint GetLength(Array array)
Parameters
Type Name Description
Array array

The array object.

Returns
Type Description
nuint

The length of the array as native unsigned integer.

Remarks

This method supports one-dimensional as well as multidimensional arrays.

View Source

IsNullOrEmpty(Array?)

Indicates that array is null or empty.

Declaration
public static bool IsNullOrEmpty(Array? array)
Parameters
Type Name Description
Array array

The array to check.

Returns
Type Description
bool

true, if array is null or empty.

  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾