views:

41

answers:

1

DOM and LINQ both are in-memory pattern.

Apart from deferred execution,what is the difference between DOM and LINQ?

+1  A: 

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

Thomas Levesque