Preferably write your matching logic so it incorporates SingleOrDefault etc, so it will not throw exceptions, instead of assuming exceptions are going to occur.