zoukankan      html  css  js  c++  java
  • 【书评】C#的权威参考书(The Definitive Reference) 野峰


    这本书的作者是兄弟俩,哥哥 Joseph 是鼎鼎大名的 LINQPad 的作者,弟弟是前微软公司的 Program Manager。

    本书涵盖了 C# 5.0 的最新特性,厚达 1064 页!亚马逊上评为 5 颗星。

    编者写的介绍中,有这样一句话:

    Shaped by more than 20 expert reviewers, including Microsoft’s Eric Lippert, Stephen Toub, Chris Burrows, and Jon Skeet, this book has all you need to stay on track with C# 5.0. It’s widely known as the definitive reference on the language.

    经过 20 多位专家(包括微软的 Eric Lippert,Stephen Toub,Chris Burros,以及 Jon Skeet)的审阅,本书拥有你需要的一切,并作为 C# 语言的权威参考书而广为人知。

    作者一直站在 C# 语言发展的前沿(真正的 stay on track with C# :-)),对 C# 的各个版本都非常熟悉。在介绍 C# 的语言特性时,会特别指出是在哪个版本引入的。这就不仅在介绍语言的特性与用法,更让人有种语言发展变化的历史感。 

    作者把 LINQ 玩得炉火纯青(LINQPad的作者!),下面的代码片段

    from m in typeof (Enumerable).GetMethods()
    where m.Name == "Where" && m.IsGenericMethod
    let parameters = m.GetParameters()
    where parameters.Length == 2
    let genArg = m.GetGenericArguments().First()
    let enumerableOfT = typeof (IEnumerable<>).MakeGenericType (genArg)
    let funcOfTBool = typeof (Func<,>).MakeGenericType (genArg, typeof (bool))
    where parameters[0].ParameterType == enumerableOfT
    && parameters[1].ParameterType == funcOfTBool
    select m

     真是令人激赏!

    国内无人引进影印版,豆瓣上也无人评论。

      
  • 相关阅读:
    关于路径的小知识点
    转发与重定向
    一种反复的读写文件的方法
    文字排版reportlab
    Qgis中插件的安装位置
    spyder打开文件假死解决
    地图跳跃-超级码力
    尾部的零
    一探torch.nn究竟“What is torch.nn really?”
    KAZE特征和各向异性扩散滤波
  • 原文地址:https://www.cnblogs.com/prowyh/p/2796997.html
Copyright © 2011-2022 走看看