How can I define the size of an array in a struct?
i can implement struct in c++ like this:
struct test{
char name[8];
int age;
float salary;
...
} t;
then i read struct in file like this:
CFile f1,f2;
f1.Read(&t,sizeof(t));
or
f2.Write(&t,sizeof(t));
but how can i implement the procedure in c#?