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 objects out to an XElement (which can be streamed elsewhere as required. 35 Customer[] customers = new Customer[]{ 36 new Customer{ 37 firstName="john", lastName="lennon"}, 38 new Customer{ ......