In C# 1.x, when we declare an array, it is merely a reference (or pointer) that points to a sequence of elements. For example if we declare a structure like this:
struct Test
{
char[] letters;
}
It will only take 4 bytes in memory because what it contains is a reference (or pointer) which [...]
Posts Tagged ‘fixed size buffers’
Fixed Sized Buffers
Posted in C#, tagged fixed size buffers on July 17, 2008 | Leave a Comment »