System.Collections.Generic.SortedDictionary<TKey, TValue>
public class SortedDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, ICollection, IDictionary
namespace System.Collections.Generic
{
public class SortedDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, ICollection, IDictionary
{
public struct Enumerator : IEnumerator<KeyValuePair<TKey, TValue>>, IEnumerator, IDisposable, IDictionaryEnumerator
{
public KeyValuePair<TKey, TValue> Current { get; }
public void Dispose();
public bool MoveNext();
}
public sealed class KeyCollection : ICollection<TKey>, IEnumerable<TKey>, IEnumerable, IReadOnlyCollection<TKey>, ICollection
{
public struct Enumerator : IEnumerator<TKey>, IEnumerator, IDisposable
{
public TKey Current { get; }
public void Dispose();
public bool MoveNext();
}
public int Count { get; }
public KeyCollection(SortedDictionary<TKey, TValue> dictionary);
public void CopyTo(TKey[] array, int index);
public Enumerator GetEnumerator();
}
public sealed class ValueCollection : ICollection<TValue>, IEnumerable<TValue>, IEnumerable, IReadOnlyCollection<TValue>, ICollection
{
public struct Enumerator : IEnumerator<TValue>, IEnumerator, IDisposable
{
public TValue Current { get; }
public void Dispose();
public bool MoveNext();
}
public int Count { get; }
public ValueCollection(SortedDictionary<TKey, TValue> dictionary);
public void CopyTo(TValue[] array, int index);
public Enumerator GetEnumerator();
}
public IComparer<TKey> Comparer { get; }
public int Count { get; }
public TValue this[TKey key] { get; set; }
public KeyCollection Keys { get; }
object IDictionary.this[object key] { get; set; }
public ValueCollection Values { get; }
public SortedDictionary();
public SortedDictionary(IComparer<TKey> comparer);
public SortedDictionary(IDictionary<TKey, TValue> dictionary);
public SortedDictionary(IDictionary<TKey, TValue> dictionary, IComparer<TKey> comparer);
public void Add(TKey key, TValue value);
public void Clear();
public bool ContainsKey(TKey key);
public bool ContainsValue(TValue value);
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int index);
public Enumerator GetEnumerator();
public bool Remove(TKey key);
public bool TryGetValue(TKey key, out TValue value);
}
}