interface IReadOnlyCollection<T>

in global :: System . Collections . Generic

Represents a strongly-typed, read-only collection of elements.

  • T The type of the elements.

public int Count { get; }

Gets the number of elements in the collection.

  • Returns The number of elements in the collection.