RoguePoet01
Programmer
Hi,
I'm new to this and I can't figure it out.
This example was given to me in a book:
using System;
using System.Collections;
// LINKED LIST ENUMERATOR
public class LinkedListEnumerator : IEnumerator {
private _node m_current = null;
private _node m_begin = null;
private bool m_last = false;
public LinkedListEnumerator( _node n ) { m_current = m_begin = n; }
...
}
But when I try to compile the snippit, I get this error:
'LinkedListEnumerator' does not implement interface member 'System.Collections.IEnumerator.Reset()'
Any ideas?
Thanks.
I'm new to this and I can't figure it out.
This example was given to me in a book:
using System;
using System.Collections;
// LINKED LIST ENUMERATOR
public class LinkedListEnumerator : IEnumerator {
private _node m_current = null;
private _node m_begin = null;
private bool m_last = false;
public LinkedListEnumerator( _node n ) { m_current = m_begin = n; }
...
}
But when I try to compile the snippit, I get this error:
'LinkedListEnumerator' does not implement interface member 'System.Collections.IEnumerator.Reset()'
Any ideas?
Thanks.