Source: wikibot/enumerator-computer-science
= Enumerator (computer science)
{wiki=Enumerator_(computer_science)}
In computer science, an "enumerator" typically refers to a construct or a programming technique used to iterate over a collection of items, enabling the programmer to access each element in that collection sequentially. This can apply to various contexts, including: 1. **Data Structures**: Enumerators are often used with data structures like arrays, lists, or sets to allow access to each element.