Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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];
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequential #struct #char #array #fixed #size
ADD COMMENT
Topic
Name
8+3 =