private static string RemoveThisDot(string value) { if (value.StartsWith("this.")) { value = value.Substring("this.".Length); } if (value.Contains(" this.")) { value = value.Replace(" this.", ""); } return value; }