public string this[string paramName] { get { Match match = PListConfig.GetRegex(paramName).Match(this.xml); return((!match.Success) ? string.Empty : match.Groups["Value"].Value); } set { Match match = PListConfig.GetRegex(paramName).Match(this.xml); if (match.Success) { this.xml = PListConfig.GetRegex(paramName).Replace(this.xml, "${Part1}" + value + "</string>"); } else { this.WriteNewValue(paramName, value); } } }