About 56 results
Open links in new tab
  1. What is IEnumerable in .NET? - Stack Overflow

    Jun 10, 2010 · I think IEnumerable is poorly named. Mathematically, and in computing, an enumerable is anything that maps to a countable set. So outside of .net an IObservable may be enumerable. In …

  2. IEnumerable vs List - What to Use? How do they work?

    Sep 2, 2010 · IEnumerable describes behavior, while List is an implementation of that behavior. When you use IEnumerable, you give the compiler a chance to defer work until later, possibly optimizing …

  3. What's the role of IEnumerable<T> and why should I use it?

    Jun 6, 2011 · IEnumerable<T> is an interface that tells us that we can enumerate over a sequence of T instances. If you need to allow somebody to see and perform some action for each object in a …

  4. Can anyone explain IEnumerable and IEnumerator to me?

    The IEnumerable and IEnumerator Interfaces To begin examining the process of implementing existing .NET interfaces, let’s first look at the role of IEnumerable and IEnumerator.

  5. ¿Cuales son las diferencias entre IEnumerable, ICollection e IList y ...

    Feb 21, 2020 · ¿Existe alguna diferencia entre las interfaces IEnumerable, ICollection o IList? ¿En qué momento se debería usar cada una de las interfaces en mis desarrollos?

  6. O que é e pra que serve IEnumerable e IEnumerator?

    IEnumerable é uma interface que marca as classes que desejam implementá-la para que se saiba que ela possa ter iterável através de um iterador. Obviamente que isso só deve ser usado em objetos …

  7. What is the difference between IEnumerator and IEnumerable?

    IEnumerable is an interface that defines one method GetEnumerator which returns an IEnumerator interface, this in turn allows readonly access to a collection. A collection that implements …

  8. What is the difference between IQueryable<T> and IEnumerable<T>?

    May 23, 2017 · IEnumerable: IEnumerable is best suitable for working with in-memory collection (or local queries). IEnumerable doesn’t move between items, it is forward only collection.

  9. c# - How do I implement IEnumerable<T> - Stack Overflow

    Jul 2, 2012 · I know how to implement the non generic IEnumerable, like this: using System; using System.Collections; namespace ConsoleApplication33 { class Program { static void Main(string[] ...

  10. LINQ equivalent of foreach for IEnumerable<T> - Stack Overflow

    However, there's one very useful thing that LINQ functions typically provide that foreach () doesn't - the anonymous function taken by Linq functions can also take an index as a parameter, whereas with …