📌  相关文章
📜  system collections generic list1(system object to list) - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:33.510000             🧑  作者: Mango

代码示例1
//Controller content
string[] array = {"Value1", "Value2", "Value3", "Value4"};
ViewData["Array"] = array;
//OR
List array = new List();
array.Add("value1");
ViewData["Array"] = array.ToArray();
//View content