ListExtensions.IsEmpty<T>

Extension Method in ListExtensions

Declaration

public static bool IsEmpty<T>(this List<T> list)

Description

Checks if the list is empty.

Type Parameters

TThe type of the list.

Parameters

listThe list to check.

Returns

boolTrue if the list is empty.