进行运算之前必须初始化
print(testList == null);
testList = null;
print(testList);
testList = new List<string>(); //不执行new时, 会直接空指针报错
testList.Add("");
class和struct同理
print(testList == null);
testList = null;
print(testList);
testList = new List<string>(); //不执行new时, 会直接空指针报错
testList.Add("");
class和struct同理