OrderedSetTGetEnumerator Method |
Namespace: X3Platform.Collections
Typically, this method is not called directly. Instead the "foreach" statement is used to enumerate the items, which uses this method implicitly.
If an item is added to or deleted from the set while it is being enumerated, then the enumeration will end with an InvalidOperationException.
Enumeration all the items in the set takes time O(N log N), where N is the number of items in the set.