Summary
Returns the
System.Collections.Generic.ICollection`1.Count or 0 if it's null.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Containing Type
- FMUtilities
Syntax
public static int SafeCount<T>(this ICollection<T> collection)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| collection | ICollection |
Return Value
| Type | Description |
|---|---|
| int |