public static bool IsCodeBehind(string fileName) { return builders.Any(r => Regex.IsMatch(fileName, r.DesignExtension, RegexOptions.IgnoreCase)); } }