This question is locked. New answers and comments are not allowed.
Hi again...
Thought I'd drop this one on you as well. In VB.NET you can declare a variable that is an array thusly:
If you then ask JustCode to create a property for said variable, you get this:
So far so good.
Now let's try it with a subtle change:
And create the property:
Spot the non-deliberate mistake... That's right. It's trying to get / set a single Int32 instead of the Int32() that it should be doing.
Thought I'd mention it :)
Dan
Thought I'd drop this one on you as well. In VB.NET you can declare a variable that is an array thusly:
Private _MyArray() As Integer
If you then ask JustCode to create a property for said variable, you get this:
Public Property MyArray() As Integer() Get Return Me._MyArray End Get Set Me._MyArray = Value End Set End Property
So far so good.
Now let's try it with a subtle change:
Private _MyArray2() As Int32
And create the property:
Public Property MyArray2() As Int32 Get Return Me._MyArray2 End Get Set Me._MyArray2 = Value End Set End Property
Spot the non-deliberate mistake... That's right. It's trying to get / set a single Int32 instead of the Int32() that it should be doing.
Thought I'd mention it :)
Dan