About 265,000 results
Open links in new tab
  1. Collections and Data Structures - .NET | Microsoft Learn

    Aug 12, 2022 · Learn how to use collections and data structures in .NET. Use generic and non-generic collections in thread-safe operations.

  2. Structure types - C# reference | Microsoft Learn

    Dec 4, 2024 · Typically, you use structure types to design small data-centric types that provide little or no behavior. For example, .NET uses structure types to represent a number (both integer and real ), a Boolean value , a Unicode character , a time instance .

  3. Difference between data structure and collection in the C

    Feb 2, 2024 · In the C# programming language, there are some differences and overlaps between data structures and collections. Data structure: Data structures are concepts about data organization, storage and management. It usually refers to how data is organized in memory for easy access and manipulation.

  4. Expression tree data structures - C# | Microsoft Learn

    Mar 8, 2023 · An Expression Tree is a data structure that defines code. Expression trees are based on the same structures that a compiler uses to analyze code and generate the compiled output. As you read this article, you notice quite a bit of similarity between Expression Trees and the types used in the Roslyn APIs to build Analyzers and CodeFixes .

  5. List<T> and Collections of Data (Part 12 of 19) | Microsoft Learn

    Nov 10, 2023 · In this video, learn about managing data collections using List<T>. We have now used numbers and strings (in previous videos), but how are they stored? Let’s initialize a list, loop through the list, and explore these basic data structures in …

  6. Structs - C# language specification | Microsoft Learn

    Feb 7, 2024 · Structs are similar to classes in that they represent data structures that can contain data members and function members. However, unlike classes, structs are value types and do not require heap allocation.

  7. The array reference type - C# reference | Microsoft Learn

    Dec 14, 2024 · Store multiple variables of the same type in an array data structure in C#. Declare an array by specifying a type or specify Object to store any type.

  8. Classes, structs, and records - C# | Microsoft Learn

    Apr 19, 2025 · In C#, the definition of a type—a class, struct, or record—is like a blueprint that specifies what the type can do. An object is basically a block of memory allocated and configured according to the blueprint.

  9. Queue<T> Class (System.Collections.Generic) | Microsoft Learn

    The following code example demonstrates several methods of the Queue<T> generic class. The code example creates a queue of strings with default capacity and uses the Enqueue method to queue five strings.

  10. Expression Trees - C# | Microsoft Learn

    May 29, 2024 · Learn about expression trees. See how to compile and run code represented by these data structures, where each node is an expression.

Refresh