Legend
| Extension method: void |
| TKey | Type of the keys in the dictionary. |
| TVal | Type of the values in the dictionary. |
| this IDictionary<TKey, TVal> | dict | Dictionary to operate on. |
| Func<TKey, bool> | predicate | Specifies a predicate that determines which entries should be removed from the dictionary. |