111,126
社区成员
发帖
与我相关
我的任务
分享static public object GetFirst(object[] x)
{
if (x.Length > 1)
return x.GetValue(0);
else
return null;
}
static public object GetFirst(Array x)
{
if (x.Length > 1)
return x.GetValue(0);
else
return null;
}
static public object GetFirst(ArrayList x)
{
if (x.Count > 1)
return x[0];
else
return null;
}