C# I';I’我想用ideone编译
我对ideone编译有问题。 在VisualStudio中,一切正常。有人知道问题出在哪里吗C# I';I’我想用ideone编译,c#,C#,我对ideone编译有问题。 在VisualStudio中,一切正常。有人知道问题出在哪里吗 using System; using System.Data; namespace CSharpPlayground { public class Program { static void Main() { string math = "100 * 5 - 2"; string value = new
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);
}
}
}
Quote:是否缺少'System.Data'程序集引用?@TaW那么,是否可以在ideone上添加程序集引用?但我已经使用了“using System.Data”引用:您是否缺少“System.Data”程序集引用?@TaW那么,是否可以在ideone上添加程序集引用?但我已经使用了“使用系统数据”