 | LinqExtensionsIsEmptyT Method |
Determines whether the collection is empty.
Namespace:
CSScriptLib
Assembly:
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntaxpublic static bool IsEmpty<T>(
this IEnumerable<T> collection
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
The collection.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:CSScriptLib.LinqExtensions.IsEmpty``1(System.Collections.Generic.IEnumerable{``0})"]
Return Value
Type:
Booleantrue if the specified collection is empty; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also