选择频道搜索
在C#中,可以通过以下两种方式定义空数组:
int[] emptyArray = new int[0];
int[] emptyArray = { };
无论使用哪种方式,都可以用来定义一个空的数组。