12
1
using System;
2
using System.Data;
3
public class Program
4
{
5
public static void Main()
6
{
7
string expression = "1.33+2*3.55/3";
8
DataTable eval = new DataTable();
9
object result = eval.Compute(expression, "");
10
Console.WriteLine(result);
11
}
12
}
Cached Result
Compilation error (line 3, col 7): The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 5, col 28): The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 9, col 13): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 11, col 13): The type or namespace name 'CharacterController' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 12, col 13): The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 13, col 13): The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 14, col 13): The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 27, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 28, col 12): The type or namespace name 'LayerMask' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 30, col 12): The type or namespace name 'Animator' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 33, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 35, col 12): The type or namespace name 'Gun' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 36, col 17): The type or namespace name 'Gun' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 37, col 17): The type or namespace name 'Gun' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 43, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 44, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 45, col 12): The type or namespace name 'GameObject' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 114, col 29): The type or namespace name 'Vector2' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 42, col 6): The type or namespace name 'Header' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 42, col 6): The type or namespace name 'HeaderAttribute' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 47, col 6): The type or namespace name 'Header' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 47, col 6): The type or namespace name 'HeaderAttribute' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 51, col 6): The type or namespace name 'Header' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 51, col 6): The type or namespace name 'HeaderAttribute' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 5, col 28): The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 9, col 13): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 11, col 13): The type or namespace name 'CharacterController' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 12, col 13): The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 13, col 13): The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 14, col 13): The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 27, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 28, col 12): The type or namespace name 'LayerMask' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 30, col 12): The type or namespace name 'Animator' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 33, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 35, col 12): The type or namespace name 'Gun' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 36, col 17): The type or namespace name 'Gun' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 37, col 17): The type or namespace name 'Gun' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 43, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 44, col 12): The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 45, col 12): The type or namespace name 'GameObject' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 114, col 29): The type or namespace name 'Vector2' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 42, col 6): The type or namespace name 'Header' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 42, col 6): The type or namespace name 'HeaderAttribute' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 47, col 6): The type or namespace name 'Header' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 47, col 6): The type or namespace name 'HeaderAttribute' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 51, col 6): The type or namespace name 'Header' could not be found (are you missing a using directive or an assembly reference?)
Compilation error (line 51, col 6): The type or namespace name 'HeaderAttribute' could not be found (are you missing a using directive or an assembly reference?)