08 2021 档案

摘要: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
摘要:``` // 可空类型 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