About 237,000 results
Open links in new tab
  1. List<T> Class (System.Collections.Generic) | Microsoft Learn

    Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.

  2. Using List<T> in C# (Generics) - Stack Overflow

    Oct 2, 2013 · Basically, In C#, List < T > class represents a strongly typed list of objects that can be accessed by index. And it also supports storing values of a specific type without casting to or from …

  3. List Class in C# - GeeksforGeeks

    Sep 12, 2025 · The List<T> class in C# (in the System.Collections.Generic namespace) represents a strongly typed collection of objects that can be accessed by index and resized dynamically.

  4. Generics List in C# - Easy Guide with Examples

    Mar 26, 2025 · Learn Generics List in C# with simple examples, real-world use cases, and code explanations. A friendly, beginner-friendly guide with step-by-step learning.

  5. Generic List Collection in C# with Examples - Dot Net Tutorials

    For a better understanding of how to create a Generic List<T> Collection in C# and how to add elements to the list collection using Add and AddRange method, and how to access the elements of the …

  6. Generics in C#: Introduction and Usage - C# Corner

    Unlock the power of Generics in C#! This guide introduces Generics, explaining how they enhance type safety and performance by deferring data type specification. Learn with examples!

  7. C# List<T> Collection - TutorialsTeacher.com

    The List<T> is a collection of strongly typed objects that can be accessed by index and having methods for sorting, searching, and modifying list. It is the generic version of the ArrayList that comes under …

  8. Generic Collections in .NET - .NET | Microsoft Learn

    Sep 15, 2021 · The .NET class library provides a number of generic collection classes in the System.Collections.Generic and System.Collections.ObjectModel namespaces. For more detailed …

  9. C# List (List<T>) - Tutlane

    In c#, List is a generic type of collection, so it will allow storing only strongly typed objects, i.e., elements of the same data type. The size of the list will vary dynamically based on our application …

  10. c# - Generic list of generic objects - Stack Overflow

    Oct 21, 2013 · I have used generics, because I want to force the user of the code to only be able to assign a Value of certain Type. Now the problem is when I want to create a list of fields.