摘要:
Map (映射) Reduce (规约) 编程模型: 常用于统计词频(也就是统计单词的使用数量) 具体实现演变: public partial class Program { public static void Sample05() { var words = File.ReadAllText(" 阅读全文
摘要:
PLINQ查询和LINQ查询也就是并行和串行的区别: 基本类: public class Student { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } publi 阅读全文
摘要:
如何特化现有的LINQ的操作符号,以Where 为例子: 基本类: public interface IVisible { bool Visible { get; set; } } public class Customer : IVisible { public string Name { get 阅读全文
摘要:
1 . LINQ比较集合大小演变 基本类: public class Quote { public Stock Stock { get; set; } public decimal Price { get; set; } public DateTime Date { get; set; } } pu 阅读全文