using uCalcSoftware; var uc = new uCalc(); using (var s = new uCalc.String("A and C")) { // Each Replace() call returns the modified string object, allowing the next call. s.Replace("A", "B").Replace("C", "D"); Console.Write("Result: "); Console.WriteLine(s); };