Hi Everybody,
In VB Net I used to use ´Redim´statement to declare a multidimentional array, when I did know how many elements it needed. Now I´m working with C# and I am using a List<t> control of type Struct to allocate the same structure; I couldn´t find how to resize a multidimentional array here and it is not convenient to my program to declare it with a fixed size.
Now, I have to add numeric values to a couple of the fields in the structure, but the app sends me a error message "it is not posible to change the return value, because is not a variable" or something like that (it´s in spanish).
Is it posible to do this ?, or do you think it should be better to work with a Data Table ?
Is it correct to built my List from a Struct Type, if I want to acieve this ?
What I have tried:
I think I am going to change the List<struct> control for a DataTable, and it should do what I expect (update colums dinamycally), but I don´t want to stay in doubt.