A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
9
Task/Host-introspection/C-sharp/host-introspection.cs
Normal file
9
Task/Host-introspection/C-sharp/host-introspection.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
static void Main()
|
||||
{
|
||||
Console.WriteLine("Word size = {0} bytes,",sizeof(int));
|
||||
|
||||
if (BitConverter.IsLittleEndian)
|
||||
Console.WriteLine("Little-endian.");
|
||||
else
|
||||
Console.WriteLine("Big-endian.");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue