摘要:第七章 Lambda表达式 1、匿名方法 2、Lambda表达式 2.1.1 两种基本格式 3、总结 Lambda表达式其实就是匿名方法的进一步简化,可以用于定义一个匿名函数,并将其传给一个委托变量。 Lambda表达式可以简化委托的编码量,使代码显得更优雅简洁。
阅读全文
摘要:take a nap 小憩一会 oversee the construction progress 监督施工进度 a great consumption 一笔很大的开销 basic and limited editions 基本款和限量款 private property 私人财产/住宅 cowbo
阅读全文
摘要:step aside 靠边 self-checkout machine 自动结账机 catch a cold 感冒 sore throat 喉咙痛 a vase from the tang dynasty 唐代的花瓶 sit by the lake in a peaceful way 静静的坐在湖边
阅读全文
摘要:the audience broke into enthusiastic applause for the three boys 观众对这三个男孩报以热烈的掌声 solar system 太阳系 dormitory 宿舍 this TV program is sponsored by a numbe
阅读全文
摘要:build an extension to our house 扩建我们的房子 have pain in his shoulder 他的肩膀痛 his purpose of exercising (练习/训练)的(目标/目的) at a reasonable price 在一个合理的价格 a hal
阅读全文
摘要:a thank-you note 一张感谢卡片 I can give you my consent 我赞成你的想法 driveway 车道 a democratic society 一个民主的国家 let me check if your blood pressure is normal 让我检测一
阅读全文
摘要:suffer discrimination 遭到歧视 be made of 由...制造的 fail to do sth. 没有做到什么事/做某事失败了 gain knowledge through reading books 通过读书获取知识 marital life 婚姻生活 the conti
阅读全文
摘要:Command 命令模式 命令模式吧一个对象向另一个对象发送的命令封装为一个抽象的Command类,具体的命令为它的子类,命令接受者(Receiver)负责响应发送者发出的命令(即执行其Execute方法)。 Command模式将调用操作的对象与执行操作的对象解耦。 支持多种命令。 命令可以打包组合
阅读全文