ServiceCollection.Count Property

Definition

Gets the number of elements contained in the ICollection<T>.

C#
public int Count { get; }

Property Value

The number of elements contained in the ICollection<T>.

Implements

Applies to

Produk Versi
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)