ArrayList implements an overload for IEnumerator's GetEnumerator method
as follows:
GetEnumerator(int offset, int count)
However, I can't see a way to take advantage of this, even though I'd
like to... I'd like to be able to use foreach to iterate over a section
of the ArrayList, but can't find any syntax that will work. The obvious:
foreach char ch in arList(0,20)
{
....
}
does not compile at all. Any ideas? Is this only usable if you actually
want the IEnumerator interface for something else besides foreach?