Removes the entry with the specified key from the current instance.
- key
- The key of the entry to remove.
Type Reason ArgumentNullException key is null. NotSupportedException The current instance is read-only or has a fixed size.
Operation
If key is not found in the current instance, no exception is thrown and the current instance remains unchanged.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0