I am developing an abstract class which implements IEnumerable<T>. I need
the actual implemented methods here to be abstract as well - they will be
implemented by MY subclasses.
However, I cannot seem to get the explicit interface method to accept being
abstract.
Take the following simple class:
abstract class TestEnumerable : IEnumerable<string>
{
public abstract IEnumerator<string> GetEnumerator();
abstract IEnumerator System.Collections.IEnumerable.GetEnumerator();
}
When compiling, I get "The modifier 'abstract' is not valid for this item."
on the second GetEnumerator. Any ideas?
--
Adam Clauss