title: use IEnumertor or IEnumerable c# interface?
body: <p>I am porting some Java code to C# and my question is </p>
  
  <p>One of my Java class declarations looks like this:</p>
  
  <pre><code>private class PseudoEnumeration implements Enumeration
  </code></pre>
  
  <p>Should this be translated to </p>
  
  <pre><code>private class PseudoEnumeration : IEnumerator
  </code></pre>
  
  <p>or </p>
  
  <pre><code>private class PseudoEnumeration : IEnumerable
  </code></pre>
  
  <p>and why each case? </p>
  
  <p>Another thing is that the enumerator classes work differently in java and C#. Java has "hasMoreElements" and "nextElement" while C# uses "MoveNext" and "Current".</p>
  
  <p>How would I port a Java function of this form to C#?</p>
  
  <pre><code>public boolean hasMoreElements() {
          return (field.hasMoreElements() );
      }
  </code></pre>
  
  <p>EDIT: I know MoveNext returns Bool if field has no more elements. However, it also advances the field to the enumerator to the next element. How do I just check if it has more elements without advancing the enumerator?</p>