When I run the following code, 141 is printed on the first line and 0 on the second. Why the 0?

char metter = 'a'; byte[] character = BitConverter.GetBytes(metter); foreach(byte a in character) { Console.WriteLine(a); }

by YashTD via /r/csharp

Leave a Reply