Array.Empty<'T> Method ()

.NET Framework (current version)
 

Returns an empty array.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static member Empty<'T> : unit -> 'T[]

Return Value

Type: 'T[]

Returns an empty Array.

Type Parameters

T

The type of the elements of the array.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show: