I have this C++ code :
const int ANYSIZE_ARRAY = 1;
struct LUID {DWORD LowPart; WORD HighPart;};
struct LUID_AND_ATTRIBUTES {LUID Luid; DWORD Attributes;};
struct TOKEN_PRIVILEGES {DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];};
I want to convert this code into C# syntax.
I tried this one, but don't know how to place array in a struct.
const int ANYSIZE_ARRAY = 1;
struct LUID {Int32 LowPart; Int16 HighPart;};
struct LUID_AND_ATTRIBUTES {LUID Luid; Int32 Attributes;};
struct TOKEN_PRIVILEGES {Int32 PriviligeCount; /*WHAT TO WRITE HERE??*/};
Help me please.