public static SQLInstance Get(string name) { return(name.IsNullOrEmpty() ? null : AllInstances.FirstOrDefault(i => i.Name.ToLower() == name.ToLower())); }
public static SQLInstance Get(string name) { return(AllInstances.FirstOrDefault(i => string.Equals(i.Name, name, StringComparison.InvariantCultureIgnoreCase))); }