Structures, Arrays, Classes... what to use in my case? I'm confused :(
I've advanced a whole LOT on my program now, I got the full client part done in just 3 days o_o... anyhow! as I'm converting my old PureBASIC app to C#, I really loved the way it would use "Structures" to hold "Array data". For example, in PB I could do...
Structure Info
User.s ; String
Warnings.l ; Long integer
EndStructure
Dim UserInfo.Info(2000)
And for accessing/writing I could do, for example:
UserInfo(8)\User="John"
Basically an array with multiple data types inside. Now I've been searching around the net and found a "dilemma" about classes vs structures... I don't care much if those are in the "heap" (something I don't even understand yet :P I'm self-taught) or outside it, but I'd really like to know if there's some way to simulate that with C#. A linked list would be even better (so I wouldn't have to occupy the memory with unused space, but that it increments size as it grows bigger) but I don't know how to do one yet.
My question is... is there a way to archieve a similar "effect" ? and if so, how? I just want to have a plain array that can hold multiple data types as shown there, and being able to edit/add/remove them in runtime... it is possible? I haven't found a "practical" example yet so any help would really come in handy
.
Thanks in advance!

