2021年7月1日

C# List中的Skip()和Take()

摘要: Skip()和Take()方法都是IEnumerable<T> 接口的扩展方法,包括C#中的所有Collections类,如ArrayList,Queue,Stack等等,还有数组和字符串都可以调用这两个方法。 int[] test = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 阅读全文

posted @ 2021-07-01 15:16 funiyi816 阅读(3680) 评论(0) 推荐(1) 编辑

导航