namespace lx1
{
class Program
{
private static void Test(***)
{
for(int i=1;i<strArray.Length;i++)
{
Console.Write(strArray[i]+" ");
}
Console.WriteLine();
}
static void Main(string[] args)
{
Test("One", "Two", "Three");
Test("First", "Second", "Third", "Forth");
}
}
*处应该填写什么代码
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
土拨鼠1号 2023-04-26 17:44关注params string[] strArray
本回答被题主选为最佳回答 , 对您是否有帮助呢?评论 打赏 举报解决 1无用