Converting string expression to Integer Value using C#
- by Jankhana
Sorry if this question is answered already. But I didn't find suitable answer.
I am having a string expression in C# which I need to convert to an int value or decimal anything. For example,
string strExp="10+20+30";
output should be=60.
how shall I do that???