MQL5 ReferenceStandard LibraryGeneric Data CollectionsCHashSet<T>TrimExcess AddCountContainsComparerTrimExcessCopyToClearRemoveExceptWithIntersectWithSymmetricExceptWithUnionWithIsProperSubsetOfIsProperSupersetOfIsSubsetOfIsSupersetOfOverlapsSetEquals TrimExcess Sets the capacity of a set to the actual number of elements, and thus frees up unused memory. void TrimExcess(); Comparer CopyTo