c# sequential struct char array fixed size

67

c# sequential struct char array fixed size -

struct RECORD {
    char[] name = new char[16];
    int dt1;
}
struct BLOCK {
    char[] version = new char[4];
    int  field1;
    int  field2;
    RECORD[] records = new RECORD[15];
    char[] filler1 = new char[24];
}

Comments

Submit
0 Comments