SingletonList<T>
public struct SingletonList<T> : IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IList<T>, ICollection<T>, ITuple, IReadOnlySet<T>
Represents a list with one element.
Represents an enumerator over the collection containing a single element.
The item of the list.
Gets or sets the item in this list.
Converts a value to the read-only list.
Gets enumerator for the single element in the list.