About 259,000 results
Open links in new tab
  1. Hashtable Class (System.Collections) | Microsoft Learn

    To support multiple writers all operations on the Hashtable must be done through the wrapper returned by the Synchronized (Hashtable) method, provided that there are no threads reading the Hashtable …

  2. C# Hashtable - GeeksforGeeks

    Jul 11, 2025 · In C#, a Hashtable is a collection that stores key-value pairs. It uses a hash code to organize the keys for efficient data retrieval. The key can be any object, and each key is associated …

  3. C# Hashtable (With Examples) - TutorialsTeacher.com

    This tutorial explains Hashtable in C#. A hashtable stores key-value pairs. It retrieves the values by comparing the hash value of the keys.

  4. C# Hashtable (With Examples) - Programiz

    A Hashtable is a non-generic collection that stores key/value pairs that are arranged based on the hashcode of each key. In this tutorial, you will learn about the C# Hashtable with the help of examples.

  5. C# - Hashtable Examples - Dot Net Perls

    Aug 27, 2025 · It computes a hash of each key you add, and then uses this hash code to look up the element very quickly. This is an older .NET Framework type. It is slower than the generic Dictionary …

  6. HashTable in C# with Examples - Dot Net Tutorials

    For a better understanding of how to create a Hashtable and how to add elements to a Hashtable, and how to access the elements of the hashtable in C#, please have a look at the below example.

  7. C# Hashtable Class: Explained with Examples (2025) - ByteHide

    Jan 3, 2024 · C# has gifted developers with many data structures, but for certain scenarios, nothing comes close to the efficiency of the Hashtable class. Dip your toes in, and let’s decode the power of …

  8. C# Hashtable (With Examples)

    This tutorial explains Hashtable in C#. A hashtable stores key-value pairs. It retrieves the values by comparing the hash value of the keys.

  9. C# - Hashtable Class - Online Tutorials Library

    The Hashtable class represents a collection of key-and-value pairs that are organized based on the hash code of the key. It uses the key to access the elements in the collection.

  10. C# Hashtable with Examples - Guru99

    Aug 10, 2024 · First, we declare the hashtable variable using the Hashtable data type by using keyword “New.” The name of the variable defines is ‘ht’. We then add elements to the hash table using the …