About 584,000 results
Open links in new tab
  1. IEnumerable<T> Interface (System.Collections.Generic)

    The following example demonstrates how to implement the IEnumerable<T> interface and how to use that implementation to create a LINQ query. When you implement IEnumerable<T>, you …

  2. C#: IEnumerable, GetEnumerator, a simple, simple example

    Trying to create an uebersimple class that implements get enumerator, but failing madly due to lack of simple / non-functioning examples out there. All I want to do is create a wrapper around …

  3. C# - IEnumerable Examples - Dot Net Perls

    Feb 9, 2024 · In C# IEnumerable things (like arrays or Lists) have elements that come one after another. They can be looped over with foreach. Besides looping over IEnumerable things, we …

  4. C# IEnumerable - C# Tutorial

    Introduction to the C# IEnumerable<T> interface The IEnumerable<T> is an interface that represents a sequence of objects that can be enumerated. The IEnumerable<T> has a single …

  5. IEnumerable in C# - C# Corner

    IEnumerable interface Returns an enumerator that iterates through the collection. Let us implement the IEnumerable interface in a class as: public class Customer : IEnumerable { …

  6. IEnumerable in C# With Examples - Techieclues

    Apr 5, 2023 · This article provides an in-depth guide to using IEnumerable in C#, including its definition, advantages, and usage in LINQ. Sample code with output is also included to …

  7. C# IEnumerable Examples: LINQ, Lists and Arrays - The …

    This C# tutorial demonstrates the IEnumerable interface. Example code with the foreach-loop is shown. IEnumerable. A List, array, and query can be looped over. This makes sense. All these …

  8. IEnumerable in C# - Code Maze

    Dec 22, 2022 · In this article, we are going to learn about IEnumerable in C#. IEnumerable acts as an abstraction over a collection and allows us to iterate over it without knowing the actual type …

  9. IEnumerable and IQueryable in C# - Dot Net Tutorials

    In C#, IEnumerable and IQueryable are two interfaces that are frequently used for data manipulation and querying, but they serve different purposes and have distinct behaviors. Let …

  10. IEnumerable Interface (System.Collections) | Microsoft Learn

    Exposes an enumerator, which supports a simple iteration over a non-generic collection. More… The following code example demonstrates the best practice for iterating a custom collection by …

  11. Some results have been removed
Refresh