Data Structure used for C#'s Dictionary.KeyCollection
I want to hold a list of strings which performs well when searching for a specific element. As mentioned in the following cheat sheet, Dictionary scales best for this type of operation: http://courses.essex.ac.uk/ce/ce318/www/documents/references/cSharpDataStructuresCheatSheet.pdf However, I don't need a dictionary as I'm only storing strings, not key value pairs (i.e. I'm only interested in the keys). Does anyone know what data structure the dictionary uses for its keys? KeyCollection seems to only be available to Dictionary. My guess is it's using some sort of hashing algorithm, but wondered if anyone had any insight on this? Thanks in advance.
You could use a HashSet<string>.
Listview that shows unread messages in bold and read messages in normal font in C#
which is best way to replace already installed software
Nhibernate - Could not find a getter for property
Can Stream.CopyTo(Stream) Corrupt Data?
Can you use interfaces as DataMembers in WCF?
Can NHibernate query IN-Memory objects
Saving changes from a DataGridView back to an SQL database?
c# Codedom write Program Settings to Generated File
How to hold position of listboxitem when adding/removing items?
How to use LINQ to return the result as Dictionary<string,string> in C#
Reflection with Datagridview
config for Nlog in class library
Could not find a getter for property
access local HTML files without allowing user to modify them
How to Use a Windows App with Embeded files and folders to copy to a destination?
Using BitmapImage created on Threadpool thread