Determines whether a sequence contains no elements.

Namespace: HTMLPlusPlus.Utility
Assembly: HTMLPlusPlus (in HTMLPlusPlus.dll) Version: 0.1.0.0 (0.1.0.0)

Syntax

C#
public static bool None<T>(
	this IEnumerable<T> source
)

Parameters

source
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>
The System.Collections.Generic.IEnumerable < T > to check for emptiness.

Type Parameters

T
The type of the elements of source.

Return Value

true if the source sequence contains no elements; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also