I
info
Hi All,
Suppose you need to release unmanaged resources when you remove an
item from a colletction.
We are now using an override of the ArrayList.Remove() method that
dows the job.
We wanted to move to generics but the List<T> collection does not
feature any virtual method.
How should we proceed?
We need to release unmanaged resources immediately and cannot rely on
the GC delayed cleanup.
Thanks!
Alberto
Suppose you need to release unmanaged resources when you remove an
item from a colletction.
We are now using an override of the ArrayList.Remove() method that
dows the job.
We wanted to move to generics but the List<T> collection does not
feature any virtual method.
How should we proceed?
We need to release unmanaged resources immediately and cannot rely on
the GC delayed cleanup.
Thanks!
Alberto