using uCalcSoftware; var uc = new uCalc(); uCalc.Transformer t; uCalc.String s; // Implicitly set the Text property t = "Source text with foo."; s = "bar"; // Use the objects in a standard way t.FromTo("foo", s.Text); t.Transform(); // Implicitly get the Text property Console.WriteLine(t);