E
efi_hoory
Hi, I undetstand that array allocation in c# is not preformed when I call to new operator. Allocation is done only when I set a value in tha array.
My question is if I put values in part of the array, all the array is allocated or only a part of it?
For example, if I have an array of 1000 bytes, and I fill the first 100 bytes, the size of the allocation memory for this array is 100 or 1000?
Efi.
My question is if I put values in part of the array, all the array is allocated or only a part of it?
For example, if I have an array of 1000 bytes, and I fill the first 100 bytes, the size of the allocation memory for this array is 100 or 1000?
Efi.