c# 方法参数 params 的试用 //添加方法 public void test(params string[] messages) { } //调用方法 test("aaa","bbb","ccc","ddd".....);