摘要:
记录LINQ标准查询运算符的学习 LINQ的延迟执行方式分两种,一种是流式处理,另一种是非流式处理。流式处理是指:当获取到的源元素足够计算时,就生成结果元素,不一定要获取全部源元素。 ToAsEnumerable namespace ConsoleApp4 { class Program { sta 阅读全文
摘要:
标准查询运算符: 标准查询运算符是一组方法,提供包括筛选where、投影select、聚合(例如max)、排序order by等在内的查询功能。 string sentence = "the quick brown fox jumps over the lazy dog"; string[] wor 阅读全文