N
news.microsoft.com
Hi,
I notice in the debugger that the _size member of a Queue is 0 even tho
its been initialised, is it always 0 on construction and not the default
size? So on the first .Enqueue(object) it will then grow. Weird, why is the
_array memeber set to 32 (also the same value as _ShrinkThreshold).
So why is _size = 0 and what is _size for then if it isnt the size of the
Queue._array ?
Thanks.
I notice in the debugger that the _size member of a Queue is 0 even tho
its been initialised, is it always 0 on construction and not the default
size? So on the first .Enqueue(object) it will then grow. Weird, why is the
_array memeber set to 32 (also the same value as _ShrinkThreshold).
So why is _size = 0 and what is _size for then if it isnt the size of the
Queue._array ?
Thanks.