Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Is there eval() for C#?

$
0
0
I'm making a calculator and I use UnityScript already but I'm just curious if eval() is in C#
I think this would also help others that want to use eval()
If there is a way around every scenario that uses eval, here's how my calculator would work:
User types in equation and its received as a string,
or buttons that would add something to a large string, which adds to the equation
And then I eval the string
Is there another way to do this?
Even so, is there an eval in C#? It would help other possible scenarios.

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>