📌  相关文章
📜  c# stackoverflow array 代码示例

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

代码示例1
string[] array = new string[2]; // creates array of length 2, default values
string[] array = new string[] { "A", "B" }; // creates populated array of length 2
string[] array = { "A" , "B" }; // creates populated array of length 2
string[] array = new[] { "A", "B" }; // created populated array of length 2