What is a byte array is in the context of .NET framework?
I am familiar with standard definitions like array and byte and very familiar with electronic engineering concepts such as Byte. But I fail to connect it in terms of computer science concepts. I see it used everywhere, and I use it with out really understanding it deeply.
In .NET, a
byteis basically a number from0to255(the numbers that can be represented by eight bits).So, a
bytearray is just an array of the numbers 0 – 255.At a lower level, an array is a contiguous block of memory, and a byte array is just a representation of that memory in 8-bit chunks.