flowchart
ICollection --- IEnumerable
IList --- ICollection
IEnumerableT[IEnumerable<T>] --- IEnumerable
ICollectionT[ICollection<T>] --- IEnumerableT
IListT[IList<T>] --- ICollectionT
IReadOnlyCollectionT[IReadOnlyCollection<T>] --- IEnumerableT
IReadOnlyListT[IReadOnlyList<T>] --- IReadOnlyCollectionT
Last active
October 2, 2023 19:27
-
-
Save jnm2/88b4bbe821d1152e687f51f8f4cf134e to your computer and use it in GitHub Desktop.
.NET collection interfaces
flowchart
ICollection --- IEnumerable
IDictionary --- ICollection
IEnumerableT[IEnumerable<KeyValuePair<TKey, TValue>>] --- IEnumerable
ICollectionT[ICollection<KeyValuePair<TKey, TValue>>] --- IEnumerableT
IDictionaryT[IDictionary<TKey, TValue>] --- ICollectionT
IReadOnlyCollectionT[IReadOnlyCollection<KeyValuePair<TKey, TValue>>] --- IEnumerableT
IReadOnlyDictionaryT[IReadOnlyDictionary<TKey, TValue>] --- IReadOnlyCollectionT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment