摘要: int[, ,] arr3 = new int[3, 2, 4] {{{1,2,3,4},{5,6,7,8}}, {{9,10,11,12},{13,14,15,16}},{{17,18,19,20},{21,22,23,24}}}; ... 阅读全文
posted @ 2015-08-10 23:19 WhyToHow 阅读(340) 评论(0) 推荐(0) 编辑
摘要: int[] arr1 = new int[] { 1, 3, 4, 5, 6, 9, 13, 25, 36, 45, 67 ,79}; foreach (int i in arr1) Console.Write(i + " ... 阅读全文
posted @ 2015-08-10 23:17 WhyToHow 阅读(158) 评论(0) 推荐(0) 编辑
摘要: //Stack 先进后出 没有索引 Stack st = new Stack(); st.Push(12); st.Push(11); st.Push(22); st... 阅读全文
posted @ 2015-08-10 23:14 WhyToHow 阅读(204) 评论(0) 推荐(0) 编辑