Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private ? Eval(ref string ceoUnos)
- {
- for(int i = 0; i < ceoUnos.Length; i++)
- {
- if (ceoUnos[i] == '+')
- {
- string[] deo = ceoUnos.Split(new char[] { '+' }, 2);
- return Eval(ref deo[0]) + Eval(ref deo[1]);
- }
- else if(...) {...}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement