08 2022 档案

摘要:// See https://aka.ms/new-console-template for more information using System.Dynamic; /*个人理解 * ExpandoObject和匿名对象区别 * ExpandoObject 可变,匿名对象定好后不能变 * * 阅读全文
posted @ 2022-08-31 22:08 孤海飞雁 阅读(254) 评论(0) 推荐(0) 编辑
摘要:// See https://aka.ms/new-console-template for more information /*个人理解 Girl:实际要东西的人 Middlemen:帮助Girl买她要的东西 */ Person middlemen = new Middlemen(); midd 阅读全文
posted @ 2022-08-31 21:24 孤海飞雁 阅读(14) 评论(0) 推荐(0) 编辑
摘要:// See https://aka.ms/new-console-template for more information /* * 个人理解 你要往原有的东西上加东西 Phone=装饰手机原材料 Decorator=装饰手机中间人 XiaoMi=具体装饰的手机 Sticker=装饰手机中间人拿 阅读全文
posted @ 2022-08-30 22:07 孤海飞雁 阅读(20) 评论(0) 推荐(0) 编辑
摘要:1 public class Test<T> 2 { 3 public IEnumerable<T> GetStudentData(IEnumerable<T> collection) { return null; }//推荐, 4 public List<T> GetStudentData2(Li 阅读全文
posted @ 2022-08-29 22:02 孤海飞雁 阅读(26) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示