110,571
社区成员
发帖
与我相关
我的任务
分享
class Program
{
static void f(System.Int32[])//为什么是编译错误?
{
}
static void Main(string[] args)
{
var s = new[] { 1, 2, 3 };
Console.WriteLine(s.ToString());//打印System.Int32[]
f(s);
}
}