Does XDocument.Load
load the whole file into memory? If not, which method should I use to do that?
I need to have the contents of a temporary file that may be deleted at any time available for processing even after the file was deleted or changed. The files are typically small so having the whole thing in memory is not an issue.