摘要: public static int? Test1(string str){ return str switch { "A" => 1, "B" => 2, "C" => 3, _ => default, };}public static int? Test2(string str){ switch  阅读全文
posted @ 2021-09-08 09:56 dandan00056 阅读(96) 评论(0) 推荐(0) 编辑