📜  C# 扩展数组 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:13.255000             🧑  作者: Mango

代码示例2
let array = [11, 12, 13, 14, 15];  
console.log(array.length); // 5  

array.length = 3;  
console.log(array.length); // 3  
console.log(array); // [11,12,13]

array.length = 0;  
console.log(array.length); // 0  
console.log(array); // []