Hi All,
I'm writing some code that uses SPSite and SPWeb objects. I read the following article
http://msdn.microsoft.com/en-us/library/aa973248.aspx
And I'm trying to follow the rules there to avoid memory leaks. However, one thing that is not clear from the article is whether the order of disposal metters. That is, if I call:
SPSite site = new SPSite(...);
and then:
SPWeb web = site.AllWebs[...];
is it important that I dispose web first and than site? can I dispose site and still use web?
thanks,
ok