About 2,990,000 results
Open links in new tab
  1. Which C# data structure to use? - Stack Overflow

    Nov 12, 2015 · There is good data structure: Trie(http://en.wikipedia.org/wiki/Trie). For our c# project we have used TopCoder implementation.

  2. 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.

  3. Introduction to Built-in Data Structures in C# - GeeksforGeeks

    Sep 19, 2023 · In the C#, we have data structures like a dictionary, array, stack, hashtable, queue, Linkedlist, etc. Each data structure allows us to play with the collection of data with different principles. Let’s see what inbuilt Data Structures C# offers us: System.Array base class.

  4. How To Know Which Data Structure I Should Use In C#

    5 days ago · When working with data structures in C#, follow these best practices: 1. Use the Right Data Structure. Choose a data structure that matches the requirements of your project. Avoid using a data structure that is not optimized for your use case. 2. Optimize Data Access. Use indexing or caching to optimize data access.

  5. c# - Help choosing the right data structure - Stack Overflow

    May 31, 2010 · I need a data structure with the following requirements: Needs to be able to get elements by index (like a List). I will always just add / remove elements from the end of the structure. I am inclined to use an ArrayList.

  6. The Most Used Data Structures in C#: Practical Guide with Big O ...

    Jan 16, 2025 · In this guide, we’ll meet them all — from the orderly to the chaotic — and see how each helps you conquer specific programming tasks in C#. We’ll also explore why these data structures have the...

  7. C# Dictionary vs Lookup: Which Data Structure Reigns Supreme?

    Jun 7, 2023 · In this blog post, I aim to provide an in-depth analysis of C# Dictionary and Lookup data structures. We will explore their definitions, characteristics, and practical implementations. By comparing these two data structures, we will determine which one …

  8. c# - Which data structure should I use for this particular problem ...

    Jan 12, 2011 · Get the tuples of Type/Subtype/Source from the DB by using a query like: SELECT table1.Type, table1.SubType, table2.Source from table1 JOIN table2 on table1.type_id = table2.type_id; End Edit. Without knowing how the data is to be used, you could do the following: class MyData{ HashMap<String, String> columnData; }

  9. Difference between data structure and collection in the C#

    Feb 2, 2024 · Data structures can be basic (such as arrays, linked lists, stacks, queues, etc.) or complex (such as trees, graphs, etc.). In C#, data structures can be implemented through custom classes, structures or interfaces, or you can use the data structures provided in the .NET Framework (such as System.Array). Collection: A collection is a special ...

  10. Understanding Data Structures in C#: A Comprehensive Guide

    Aug 19, 2024 · Understanding and effectively utilizing data structures is crucial for writing efficient and scalable code in C#. Each data structure offers unique benefits and trade-offs, and the choice of which to use should be guided by the specific needs of your application.

  11. Some results have been removed
Refresh