首页 > 解决方案 > 我正在尝试在ideone上编译

问题描述

我在这里的 ideone 编译有问题。在 Visual Studio 中一切正常。有谁知道是什么问题?

using System;
using System.Data;

namespace CSharpPlayground
{
    public class Program
    {
        static void Main()
        {
            string math = "100 * 5 - 2";
            string value = new DataTable().Compute(math, null).ToString();
            Console.WriteLine(value);

        }
    }
}

标签: c#

解决方案


推荐阅读