class TestClass
{ public static void test(params int[] array) { string s;
foreach (int i in array) { Console.WrriteLine(i); } } }
public static void Main(string[] args) { TestClass.test("a","b","c","d"); }
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/50929.html
標籤:C#
上一篇:C#邏輯運算子
