[Mono-devel-list] No defined byte order for C#?

Michi Henning michi at zeroc.com
Wed Dec 17 17:01:46 EST 2003

Looking at the language spec, I can't find a statement 
about the byte order for value types, such as int, float, 
etc. Are they guaranteed to be little-endian or big-
endian? I know that, on a little-endian machine, the byte 
order is little-endian. But what if I run C# on a big-
endian machine? (I don't have a big-endian machine to
try this with.)

Does the C# language (or IL) make any guarantees as to the 
byte order? 



Michi Henning              Ph: +61 4 1118-2700
ZeroC, Inc.                http://www.zeroc.com

More information about the Mono-devel-list mailing list