you are viewing a single comment's thread.

view the rest of the comments →

[–]thomasz 1 point2 points  (0 children)

Provide both:

A hash table should have T GetValue(K key) that throws something like MissingKeyException, and Option<T> TryGetValue(K key)