c#传不确定的参数个数,比如int型

a(params int[] )

 

调用时
a(1,2,3,4,5,6)

posted on 2019-06-12 19:12  jiahuafu  阅读(1591)  评论(0编辑  收藏  举报

导航