I have a C# dictionary, Dictionary that I need to be filtered based on a property of MyObject.
Dictionary
MyObject
For example, I want to
public static Dictionary Where(this Dictionary instance, Func, bool> predicate) { return Enumerable.Where(instance, predicate) .ToDictionary(item => item.Key, item => item.Value); }