摘要: 如题 阅读全文
posted @ 2020-07-10 22:41 流星曳尾 阅读(140) 评论(0) 推荐(0) 编辑
摘要: arraylist 声明时不需要指定长度也不需要指定数据类型的数组,所以有数据类型不安全和装箱拆箱引起性能损耗的缺陷。 所以.net 2.0推出list,声明时需指定数据类型。 例: array //定义string[] strs = new string[5]; //赋值 strs[0] = "A 阅读全文
posted @ 2020-07-10 19:35 流星曳尾 阅读(2397) 评论(0) 推荐(0) 编辑
摘要: 字符串转化为其他parseInt() parseFloat()int,float转化为字符串 .toString() 阅读全文
posted @ 2020-07-10 17:00 流星曳尾 阅读(118) 评论(0) 推荐(0) 编辑