using uCalcSoftware; var uc = new uCalc(); var myInstance = new uCalc(); // Define a variable and get its Item object var v = myInstance.DefineVariable("v = 10"); // Use the item to get back to its parent uCalc instance var parentInstance = v.uCalc; // Perform another evaluation in the same context Console.WriteLine(parentInstance.EvalStr("v + 5"));