You just need to change your code slightly, you don't need to use LINQ.
IE:
public class Contact
{
public Segments Segments
{
get;
set;
}
}
public class Segments
{
public List<Segment> Segment
{
get;
set;
}
public string SegmentName
{
get;
set;
}
}
You could nest the Segments class within the Contact class but in this case
with have to have different names, currently they would have to exisit in
diff namespaces or else you'd get a name conflict problem.
Serializing the above should generate the desired result.

Signature
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
> Hi all,
>
[quoted text clipped - 34 lines]
> Thanks
> Robert