>Hi,
>Something to add on is that, I used to try to call MyClass.Dispose() at any MyContainer.Dispose(). However, the value of the property that stored reference of MyClass is null. It cause error when I call dispose.
>
>When the property is null, does it meant it is released from memory? In my testing, it doesn't.
>
>Please advice.
>
>Thank you
In the Programming C# book from WROX I had (from the library) there was a great chapter on garbage collection with the sample implementation. Is there any chance for you to take this book from the local store/library for some time?
If it's not broken, fix it until it is.
My Blog