Empty

Returns an empty collection.

WARNING

This method isn't available as an extension method.

Parameters

Returns

IEnumerable<T>

Usage

Creating a new emptycollection

IEnumerable<int> result = CollectionModule.Empty<int>();

//result = {}

Last updated

Was this helpful?