> what is the advantage of weaf referace?
> basically CLR allocate the memory from short/long weak referance table base
[quoted text clipped - 10 lines]
> thanks,
> artral.
A weak reference is not considered by the garbage collector as an active
reference. That means that the object may be garbage collected if you
only have weak references to it.
If the heap runs out of unused memory, it will first do a garbage
collection before requesting more memory from the system. If you have
weakly referenced objects, they can be collected, and that will likely
be enough so that no extra memory needs to be allocated from the system
at that time.

Signature
Göran Andersson
_____
http://www.guffa.com