, . PeopleEnum.Current (p.MoveNext()), foreach.
But the only thing you need to do is implement the interface, you can do it implicitly if you want, but is there any reason for this? If I wanted to use MovePrevious in a class? Would it be great if I were to attach (delete) an object to Person?
If you think that a class can be extended with additional manipulation methods, then Person Current is a cool thing.
source
share