using uCalcSoftware;

var uc = new uCalc();
var t = new uCalc.Transformer();
var s = new uCalc.String();

// 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);