我觉得问起来很愚蠢,但是必须有一个内衬可以与以下 c# 中的代码等效或接近等效...所以你能告诉我它是什么吗?
public static string[] ToStringArray(int[] i)
{
if (i==null) return null;
string[] result = new string[i.Length];
for (int n= 0; n< result.Length; n++)
result[n] = i[n].ToString();
return result;
}