摘要:
class Person { private static Dictionary<string, string> dict; static Person() { dict = new Dictionary<string, string>(); dict.Add("a", "tom"); dict.A 阅读全文
posted @ 2021-08-23 12:11
trykle
阅读(170)
评论(0)
推荐(0)
摘要:
``` // 可空类型 int? a = null; // ?? 空合并运算符,哪个不为空就取哪个结果 string a = null; string b = null; string c = null; string d = a ?? b ?? c ?? "111"; //Console.Writ 阅读全文
posted @ 2021-08-23 11:46
trykle
阅读(97)
评论(0)
推荐(0)
浙公网安备 33010602011771号