there is a struct written by c/c++ language:
union myunion
{
G00 g00;
G01 g01;
G02_G03 g02_g03;
G12 g12;
ellips g12_g13;
g16type g16;
G04 g04;
G31 g31;
G33 g33;
G87 g87;
G88 g88;
S s;
}
I want to write a struct or a class that has the same function in .Net Compact Framework with C#,unfortunately, I made a mistake by using the attribute 'FieldOffset'---.Net Compact Framework doesn't support the attribute 'FieldOffset'.So how can I do?
Please do me a favor and give me some useful suggestion.Thank you.