c#


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

Related Links

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

Categories

HOME
display
aix
xamarin.forms
popover
reference
bitbucket
autocad
procmon
cdn
sitemap
restheart
samsung-gear-s2
phpexcel
decoding
ng2-charts
exchange-transport-agents
bookmarklet
openoffice-basic
ajaxcontroltoolkit
serenity-js
dev-c++
angular2-pipe
bootstrap-accordion
android-wear-2.0
waterfall
utc
workflow-foundation
custom-fields
multilanguage
node-soap
certbot
javafxports
gstreamer-1.0
device-driver
stochastic-process
mapquest
var
armadillo
ssdp
azure-web-roles
wicket-tester
superclass
codepen
niagara-ax
text-formatting
noise
extjs3
visualizer
bioperl
r-commander
typewriter
android-music-player
indoor-positioning-system
altova
vga
change-password
qtruby
shtml
laterjs
firefox-os
methodology
wordpress-plugin
overlapping
producer-consumer
javapackager
lytro
windows-phone-8-emulator
traminer
borland-c++
pagecontrol
teamwork
ultraedit
pymol
douglas-peucker
caption
cordova-3
clearcanvas
visual-studio-setup-proje
ia-32
qgraphicsscene
source-depot
uikit-dynamics
microsoft-speech-platform
gssapi
bindinglist
unordered-set
zend-validate
discussion-board
httppostedfilebase
jexcelapi
jqtransform
azure-appfabric
large-data-volumes
hp-trim
morfik
time-management

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App