public static string ReplaceSpacesWithPeriods(this string value) { string result = value.Replace(" ", "."); return result; }