static public void AddFileFilters(this FileDialog item, IEnumerable <Tuple <string, string> > pairs) { pairs.Process(p => item.AddFileFilter(p.item1, p.item2)); }