C# 6.0 新特性介绍 【5】

C# 6.0 新特性介绍 【5】

回复
  • 宋晓寒用户
    [[{"txt": "C# 6.0 \u65b0\u7279\u6027\uff08.NET Framework 4.6+\u3001 VS2015+\uff09\u4e3b\u8981\u6709\u4e0b\u9762\u51e0\u4e2a\uff1a1\uff09Exception Filters2\uff09Using await in catch and finally blocks3\uff09The nameof Operator4\uff09Null Conditional Operator5\uff09Auto Property Initializers6\uff09String Interpolation7\uff09\"using\" statement for static classes8\uff09Index initializer9\uff09Expression-bodied members\u6b64\u6b21\u4e3b\u8981\u4ecb\u7ecd 9\uff09"}], [{"txt": ["\u5de5\u5177/\u539f\u6599"]}, {"txt": ".NET Framework 4.6"}, {"txt": "VS2015"}], [{"txt": ["\u65b9\u6cd5/\u6b65\u9aa4"]}, {"txt": "\u521b\u5efa\u3010\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f\u3011\u7684 CSharp.NewFeatures.V60 \u9879\u76ee\u4f9b\u6f14\u793a"}, {"img": ["https://exp-picture.cdn.bcebos.com/03605157935653bb0243cf4e1d0b3121046171f9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "\u6240\u6709\u4ee3\u7801\u90fd\u5199\u5230\u3010Program.cs\u3011\u4ec5\u4f9b\u6f14\u793a\uff0c\u4ee3\u7801\u6574\u4f53\u7ed3\u6784\u5982\u4e0b\u3002\u6ce8\u610f Main \u65b9\u6cd5\u5185\u90e8\u7684\u6700\u540e\uff0c\u52a0\u4e0a\u00a0Console.ReadLine();\u00a0 \u5426\u5219\uff0c\u6d4b\u8bd5\u6548\u679c\u5c06\u4e00\u95ea\u800c\u8fc7"}, {"img": ["https://exp-picture.cdn.bcebos.com/4e168d5653bbf8209f983dbeba21056105a36ef9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "\u3010Expression-bodied members\u3011\uff1a\u5728Main\u65b9\u6cd5\u4e2d\u7684\u6d4b\u8bd5\u4ee3\u7801\u5982\u4e0b"}, {"img": ["https://exp-picture.cdn.bcebos.com/92174dbbf82064fb6a689a948e6104a354e96ff9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "\u3010Expression-bodied members\u3011\uff1a\u5728\u6d4b\u8bd5\u8f85\u52a9\u7c7b ExpressionBodiedMembers \u4e2d\u4ee3\u7801\u5982\u4e0b"}, {"img": ["https://exp-picture.cdn.bcebos.com/506d92f1d8a726336de06656c02c56ee7a7f44f9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "\u3010Expression-bodied members\u3011\uff1a\u53d8\u91cf => \u65b9\u6cd5"}, {"img": ["https://exp-picture.cdn.bcebos.com/8db0c6a726334884eb87e099ddee7b7f870e45f9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "\u3010Expression-bodied members\u3011\uff1a\u65b9\u6cd5 => \u5b9e\u73b0"}, {"img": ["https://exp-picture.cdn.bcebos.com/d9e638334884cde36c48fd5bf07f860e7d7542f9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "\u3010Expression-bodied members\u3011\uff1a\u8fd0\u884c\u6548\u679c\u5982\u4e0b"}, {"img": ["https://exp-picture.cdn.bcebos.com/27725684cde34b2c7e8ad0ca0d0e7c75e4f443f9.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}], [{"txt": ["\u6ce8\u610f\u4e8b\u9879"]}, {"txt": "Main \u65b9\u6cd5\u5185\u90e8\u7684\u6700\u540e\uff0c\u52a0\u4e0a Console.ReadLine(); \u5426\u5219\uff0c\u6d4b\u8bd5\u6548\u679c\u5c06\u4e00\u95ea\u800c\u8fc7"}]]
    2024-11-22
    1楼
    回复

参与评论

游客评论不支持回复他人评论内容,如需回复他人评论内容请