I want to create a type 'struct' composed of some fields that must be an array of char with a certain length or a string with a certain length. Currently I have declared it this way:
public struct Header
{
public char[] entityCode;
public char[] date;
public char[] numberProcess;
public char[] numberEnd;
public char[] filler;
}
Where each must have the following lengths: entityCode = length 6, date = length 6, numberProcess = length 4, numberEnd = length 3, filler = length 50