Emitting XML via LINQ

Just posted about reading XML via LINQ. Now, this post is about the opposite direction – emitting XML from a collection. The simplicity of LINQ provides a straightforward interaction with XML makes LINQ to XML for me one of the easiest and most natural ways to interact with XML. The following emits a collection of…

1