Monday, May 25, 2020 05:57

Posts Tagged ‘foreach loop’

IEnumerator and IEnumerable

Friday, May 8th, 2020

Before we can start delving into LINQ, we need to first understand the underlying principles upon which it is built. LINQ is all about operations over collections, so, you’ve guessed it: we will be dealing with collections.

You already learned that of all data structures, arrays are the fastest, because they are unsorted non-generic data structures.… Read more

Foreach loop

Saturday, January 14th, 2017

The foreach loop is significantly more simpler than the For loop, but it’s also harder for the readers of this blog, since it’s based on concepts we haven’t learned yet. For this reason, i will simply tell you that a foreach loop was designed to iterate through all elements of an array, list or any other collection of elements that implement IEnumerable interface.… Read more


Do NOT follow this link or you will be banned from the site!