I'm trying to better understand the life cycle of an object in the .Net framework. My companies Intranet has some custom classes that were written by a vendor that I'm trying to make some modifications to. Specifically I want to set some variables & hashtables to null when use of the object is done. For now I have this in the dispose event.
Is there any info you can point to that would be good reading on the life cycle of an object in the .Net framework? I.e. what order do the events fire in? OnInit, Initialize, finalize, Dispose, etc. I have the ASP.net page lifecycle but I'm not looking for that.
If you can point me to some reference material I'd appreciate it.
Thanks!
Is there any info you can point to that would be good reading on the life cycle of an object in the .Net framework? I.e. what order do the events fire in? OnInit, Initialize, finalize, Dispose, etc. I have the ASP.net page lifecycle but I'm not looking for that.
If you can point me to some reference material I'd appreciate it.
Thanks!
Last edited: