int [] numbers = new int[5]; // 长度为5,元素类型为 int。 不同的格式: |
|
System.Collections.ArrayList ArrayList al = new ArrayList(); al.Add(5); al.Add("Hello Tom"); |
System.Collections.Generic.List<T> List<int> intList = new List<int>(); intList.Add(500); intList.AddRange(new int[]{1,100}; intList.Insert(1, 1000); cw(intList.Contains(100)); cw(intList.indexOf(10)); |
System.Collections.HashTable HashTable ht = new HashTable(); ht.Add("name", "Tom"); ht.Add("age", 18); |
System.Collections.Generic.Dictionary Dictionary<string, string> dic = new Dictionary<string, string>(); dic.Add("name", "Tom"); dic.Add("age", "eighteen"); |
如对本文有疑问, 点击进行留言回复!!
两种方法 更改jupyter notebook的打开路径/默认工作路径
RobotFramework接口自动化-全局变量解决保持登录问题
mysql中如何实现 row_number分组求topN的功能
SQLSERVER中RANK OVER(PARTITION BY)的用法
网友评论