Array.Empty<T> Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns an empty array.

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

public static T[] Empty<T>()

Return Value

Type: T[]

Returns an empty Array.

Type Parameters


The type of the elements of the array.

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