C# CONCEPTS

Design Pattern - Iterator

According to Gang of Four, the iterator pattern provides a process to obtain the aggregator object without knowing its implementation.

Sukhpinder Singh
May 30 · 3 min read

Use Case

Let us take an example of a collection list of cars and string[] an array of motorcycles, we need to design an…