Question

Comment puis-je obtenir efficacement une référence à une chaîne dans un HashSet<string> si je sais que la chaîne existe?

i.e..

hashSet.Contains(myString) == true
string stringRef = ???

Merci!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top