blah blah blah is here! blah blah » Close

up0down
link

is there a way to search a hashtable by value, not by key in c#?

last answered one year ago

1 answers

up0down
link

since the hashtable accepts objects as key, then add the value you want as the key and add the key as the value. so when you search for the object you get the key.

Feedback