The Crazy Coder
Published in

The Crazy Coder

Understanding C# IEnumerable and IEnumerator

Anything that you can iterate over in .NET implements IEnumerable

Photo by Kelly Sikkema on Unsplash


As two of the very old programming concepts that are implemented in most languages nowadays, this guide helps you have a better understanding of the generic IEnumberable and IEnumberator interfaces.




A must-have medium blog to develop programming skills.

Recommended from Medium

Mi First HTML Course

Download In #&PDF Odoo 12 Development Essentials: Fast-track your Odoo development skills to build…

Are you working on business stuff or nerd stuff?

Datacast Episode 88: Sales Engineering and Future of Work with Evan Cummack

Build an Offline-first Android and iOS App using Atlas Device Sync — Part 1

One Way to Manage Credentials in Multiple Software Environments

Minimize boilerplate code by using Lombok for Java

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


A software engineer who is always at a high level of passion with new techs and a strong willing to share with what I have learned.

More from Medium

How To Differentiate If, Else if, Else (but with my mother as example)

Strategy Design Pattern In .NET C#

Learn about the Strategy Design Pattern in DotNet (.NET) CSharp (C#). Best Practice with example. Code Coding Programming Architecture Engineering Development

C# code quality tooling with Roslyn, Resharper and NDepend

Func vs Action In .NET