log4net SDK Reference |

# EmptyCollection.GetEnumerator Method

Returns an enumerator that can iterate through a collection.

[Visual Basic]
NotOverridable Public Function GetEnumerator() As IEnumerator _
Implements IEnumerable.GetEnumerator
[C#]
public IEnumerator GetEnumerator();

#### Return Value

An IEnumerator that can be used to iterate through the collection.

#### Implements

IEnumerable.GetEnumerator

#### Remarks

As the collection is empty a NullEnumerator is returned.

#### See Also

EmptyCollection Class | log4net.Util Namespace