private static bool IsIcon(string fileName) { return fileName.EndsWith(".ico", StringComparison.CurrentCultureIgnoreCase); }