20 lines
983 B
Markdown
20 lines
983 B
Markdown
# System.Collections.Generic
|
|
|
|
``` diff
|
|
namespace System.Collections.Generic {
|
|
public class Dictionary<TKey, TValue> : ICollection, ICollection<KeyValuePair<TKey, TValue>>, IDeserializationCallback, IDictionary, IDictionary<TKey, TValue>, IEnumerable, IEnumerable<KeyValuePair<TKey, TValue>>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, ISerializable {
|
|
+ public int EnsureCapacity(int capacity);
|
|
+ public void TrimExcess();
|
|
+ public void TrimExcess(int capacity);
|
|
}
|
|
public class HashSet<T> : ICollection<T>, IDeserializationCallback, IEnumerable, IEnumerable<T>, IReadOnlyCollection<T>, ISerializable, ISet<T> {
|
|
+ public int EnsureCapacity(int capacity);
|
|
}
|
|
- public class KeyNotFoundException : SystemException, ISerializable
|
|
+ public class KeyNotFoundException : SystemException
|
|
- public struct KeyValuePair<TKey, TValue>
|
|
+ public readonly struct KeyValuePair<TKey, TValue>
|
|
}
|
|
```
|
|
|