I'm new to C #, usually a C programmer, so it's hard for me to figure out which method is better to use. Hope I can get some advice to help me decide.
I have a structure that looks like this (I did it as I would in C):
struct structData
{
long type;
long myArray[50];
string text;
}
I am creating an array of this structure that I can constantly read / write globally / publicly. (I will need to store the data there so that I can get it later)
structData arrayOfStructs[50];
The goal would be to access the following data:
arrayOfStructs[0].type = 123;
arrayOfStructs[0].myArray[0] = 456;
#, :
"myArray" 50,
"... = new ...",
-, List < > ? ?
-, , , / ? ?
, longs.