【发布时间】:2012-10-01 09:23:08
【问题描述】:
例如当我写的时候:
Char[] test = new Char[3] {a,b,c};
test[2] = null;
上面写着 Cannot convert null to 'char' because it is an non-nullable value type
如果我需要清空该 char 数组,是否有解决方案?
【问题讨论】:
-
我已经编辑了你的标题。请参阅“Should questions include “tags” in their titles?”,其中的共识是“不,他们不应该”。