On 7/9/12 5:14 AM, Mehrdad wrote:
Really, doing something simple should be simple.

I don't have any brilliant ideas, but one guess would be nullable
types... if you can return a nullable value, your interface for an
interface could just be:

T? next();

and that's it... it would return null if nothing is left.

What if you want to return a reference so the user can change it?

Andrei

Reply via email to