EnumerableExtensions.

IsNullOrEmpty<T>(IEnumerable<T>) Method

Summary

Checks if enumerable is or empty.

Syntax

public static bool IsNullOrEmpty<T>(this IEnumerable<T> enumerable)

Type Parameters

Name Description
T The type of elements in the collection.

Parameters

Name Type Description
enumerable IEnumerable<T> The IEnumerable<T> to check.

Return Value

Type Description
bool Returns if enumerable is or empty, otherwise .