public void ChangeValue(string name, string newValue) { int i = names.IndexOf(name); if (i >= 0 && i < this.Length) { values[i] = newValue; } }