[This is preliminary documentation and is subject to change.]
Gets an enumerator for the elements of the collection
Declaration Syntax
C# |
public IEnumerator<T> GetEnumerator()
Return Value
An enumerator for the collection
Remarks
The enumerator does not yield any null elements in the collection.
This method is not thread safe. If there a risk of contention during an enumeration, you must arrange for synchronisation yourself. The SyncRoot property gets the object used to synchronise other methods of this class.