摘要: int[] a = new int[] { 1, 2, 4, 5 }; int[] b = new int[] { 1, 3, 4, 5 }; if (Enumerable.SequenceEqual(a,b)) { MessageBox.Show("一样"); } Enumerable.SequenceEqual(strs1, strs2); //通过使用相同类型的默认相等比... 阅读全文
posted @ 2018-05-11 09:52 redhairboy 阅读(13325) 评论(0) 推荐(2) 编辑
摘要: 例子: 转自:https://www.cnblogs.com/lengzhan/p/6225580.html 阅读全文
posted @ 2018-05-11 08:39 redhairboy 阅读(1546) 评论(0) 推荐(0) 编辑