摘要:
马上就要出C#11了,近几个版本模式匹配一直在更新,参见官网:模式 - C# 参考 | Microsoft Learn 使用模式主要就是switch, 分两种 switch 语句和表达式, 语句:(功能全面) switch(i){ case const_exp1: /*customer logic* 阅读全文
posted @ 2022-10-09 15:57
ProjectDD
阅读(37)
评论(0)
推荐(0)
浙公网安备 33010602011771号