【C#】为什么new 空的array后面加{}, new 空的Dictionary后面加()

tech2025-03-29  13

比如

myArray = new string[] {}; myDict = new Dictionary<string, int>();
最新回复(0)