public void RemoveEnvironment(string name) { Environments.RemoveAll(env => string.Compare(env, name) == 0); }