From: shapper on 14 Mar 2010 20:12 Hello, I am loading a few XDocuments to read, write, etc. After using the XDocument can't I dispose it? I think I should or not? I was looking for it and XDocument does not have a Dispose method. Thanks, Miguel
From: Arne Vajhøj on 14 Mar 2010 20:18 On 14-03-2010 20:12, shapper wrote: > I am loading a few XDocuments to read, write, etc. > > After using the XDocument can't I dispose it? I think I should or not? > I was looking for it and XDocument does not have a Dispose method. There are no need for it. XDocument only contains some data structures in managed memory. And that can be GC'ed - so no need for any Close/Dispose call. Arne
|
Pages: 1 Prev: h0w readkey works? Next: looking for the method like postmessage in win32. |