An array of user defined structures...

...is not possible in Netlinx right?
I miss .NET List<> and being able to dynamically create lists of my user defined objects. And objects that can have methods for that matter.
I miss .NET List<> and being able to dynamically create lists of my user defined objects. And objects that can have methods for that matter.
0
Comments
When I try to do it I get an error: "Initializer is not a constant"
Can you show us the code?
Arrays of user defined structs are definitely legal.
Now that I think about it, I have done this in the past. I've already moved on and don't have the code anymore.
I think the mistake I was making is that I was trying to initialize the array with with some existing instances of the structure. Just like how you would add objects to a List in C#. I don't know why I thought that would work.