Compartilhar via


GeneralUtilities.HasSingleElement<T>(ICollection<T>) Method

Definition

public static bool HasSingleElement<T> (System.Collections.Generic.ICollection<T> collection);
static member HasSingleElement : System.Collections.Generic.ICollection<'T> -> bool
Public Function HasSingleElement(Of T) (collection As ICollection(Of T)) As Boolean

Type Parameters

T

Parameters

collection
ICollection<T>

Returns

Applies to