[Mono-devel-list] convert char[] in c struct to byte[] in C# struct??

Michael J. Ryan tracker1_lists at theroughnecks.com
Sat Oct 2 20:52:29 EDT 2004


How would I define the following in a C# struct..
   typedef struct {
     char alias[26];
   } x;
I've tried..
   public struct x {
     byte alias[26];
   }
And...
   public struct x {
     byte[] alias[26];
   }
And...
   public struct x {
     byte[26] alias;
   }

WTF, how do I do this?

-- 
Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net
icq: 4935386  -  AIM/AOL: azTracker1  -  Y!: azTracker1  -  MSN/Win: (email)

Rules of Acquisition #045:
Ambition knows no family.



More information about the Mono-devel-list mailing list