title: Return an empty IEnumerator
body: <p>I have an interface that, among other things, implements a "public IEnumerator GetEnumerator()" method, so I can use the interface in a foreach statement.</p>
  
  <p>I implement this interface in several classes and in one of them, I want to return an empty IEnumerator. Right now I do this the following way:</p>
  
  <pre><code>public IEnumerator GetEnumerator()
  {
      ArrayList arr = new ArrayList();
      return arr.GetEnumerator();
  }
  </code></pre>
  
  <p>However I consider this an ugly hack, and I can't help but think that there is a better way of returning an empty IEnumerator. Is there?</p>