ThreadSafeHashSetTGetEnumerator Method

Returns an enumerator that iterates through the items of this ThreadSafeHashSetT.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public IEnumerator<T> GetEnumerator()

Return Value

IEnumeratorT
An IEnumeratorT that can be used to iterate through the ThreadSafeHashSetT.

Implements

IEnumerableTGetEnumerator

Remarks

The returned enumerator is safe to use concurrently with reads and writes to the ThreadSafeHashSetT; however, it does not represent a moment-in-time snapshot. The contents exposed through the enumerator may contain modifications made to the ThreadSafeHashSetT after GetEnumerator was called.

See Also