I am developing an app of windows phone 8.1. I want to execute an expression at run time that is stored in a string variable. For Example:
string exp = "4+5-2";
I can do this in desktop application by following code:
MSScriptControl.ScriptControl sc = new MSScriptControl.ScriptControl();
sc.Language = "VBScript";
object result = sc.Eval(expr);
But this code is not working there. It causes application to crash.