You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented the Iterator pattern with `Book`, `BookCollection`,
`BookIterator`, `IBookCollection`, and `IIterator` classes and
interfaces. Updated `Program.cs` to demonstrate the pattern
with a collection of books and an iterator.
Updated `README.md` to document the Iterator pattern, its
purpose, usage example, and test locations. Added `IteratorTests`
to verify correct iteration over a `BookCollection`.
Ensured adherence to the Iterator pattern principles by
providing sequential access to collection elements without
exposing the underlying representation.
0 commit comments