ThreadSafeDictionaryTKey, TValueTrimExcess Method

Forces to perform a merge while removing all possibly allocated but already deleted entries from the lock-free storage, even if the PreserveMergedKeys property is .
See the Remarks section of the PreserveMergedKeys property for details.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public void TrimExcess()

See Also