我收到此错误,我不确定这是什么意思?
你调用的对象是空的.
.net nullreferenceexception
我正在尝试这样的事情:
class point { public int x; public int y; } point[] array = new point[100]; array[0].x = 5;
这是错误: 对象引用未设置为对象的实例.(@最后一行)
怎么了?:P
c# arrays
.net ×1
arrays ×1
c# ×1
nullreferenceexception ×1