Method Clean Clean() Removes internal entries for values that have been garbage collected and trims the excess if TrimExcessDuringClean is set. Declaration public void Clean()