It is good practice to especially if the list is large and don't forget this - srharton |
Monday, December 03, 2007 2:23 PM
|
It is good practice to especially if the list is large and don't forget this
is running on a memory contrained device. It is better to clear memory as
soon as possible IMO. As Peter suggested, implement the IDisposable on the
Control and in the Dispose method clear the list from there.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com |
 |
Generic list & dispose - =?ISO-8859-2?Q?Micha=B3_Sakowicz?= |
Tuesday, December 04, 2007 2:53 AM
|
Hi,
I have quick question, I've created user control which is using
generic lists internally. Should I implement IDisposable pattern to
release memory taken by those lists, or should I leave it as it is and
let GC do its job? I'm not using any unmanaged resources.
Thanks
Michal |
 |
Thanks a lot!Michal - =?ISO-8859-2?Q?Micha=B3_Sakowicz?= |
Friday, December 07, 2007 1:50 AM
|
Thanks a lot!
Michal |
 |