I am using a dictionary to perform lookups for a program I am working on. I run a bunch of keys through the dictionary, and I expect some keys to not have a value. I catch the
you should use the 'ContainsKey(string key)' method of the Dictionary to check if a key exists.
using exceptions for normal program flow is not considered a good practice.