How to run code read in as a string?

In General, I created the code

string a = "Metod(5)*Metod(3)";
int b = a;
// in fact b just needs to execute code which lies in the line a

How can I do?
April 4th 20 at 00:40
1 answer
April 4th 20 at 00:42
Solution
Go to Google

CodeDOM/Roslyn, there are other options. It all comes down to runtime compilation and execution.

Find more questions by tags C#