public void RemoveSuffix(string text) { if (!Suffixes.Contains(text)) { return; } Suffixes.Remove(text); VisibleItems--; }
public bool RemoveSuffix(string s) => Suffixes.Remove(s);