[This is preliminary documentation and is subject to change.]
Gets an enumerator for the elements of the collection
| C# |
public IEnumerator<T> GetEnumerator()
An enumerator for the collection
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.