📜  c# 如何创建数组 - C# 代码示例

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

代码示例1
//you can apply arrays to any variable

//string array
string[] names = {"Guy", "Ryan", "Jim"};

//int array
int[] ages = {14, 16, 17, 19};

//double array
double[] timeRecord = {2.3, 5.6, 3.3};