Tag: Iterator Design Pattern

Iterator Design Pattern

Introduction: Sometimes you want to access a collection of objects in a sequential way without even expose how things is going inside your implementation . Iterator Design Pattern Provides you with a Skelton of how to design your classes to solve this issue. Example: static void Main(string[] args) { ListAggregate a = new ListAggregate(); a[0] Read More …