DOM and LINQ both are in-memory pattern.
Apart from deferr开发者_StackOverflow中文版ed execution,what is the difference between DOM and LINQ?
There is no relation whatsoever between DOM and Linq... DOM is a structured, in-memory representation of a document (usually XML or HTML). Linq is a language feature that enables querying on all types of collections.
Perhaps you're referring to Linq to XML ? The Linq to XML is pretty similar to DOM, with a few differences. Have a look at this MSDN article for details
精彩评论