I'm trying to convert a text from textbox in a WinForms. I have an application which is drawing charts from linear equation (fe x^2+2x+3) and I need to have output in mathematical expression to make it work.
Main problem I'm facing is I can't find way to convert string "Math.pow(x,2)" to (I don't know if I'm doing this correct) dynamic answer = Math.pow(x,2);
Can you please help me?