> Unfortunately, by default, writing XML isn't as straightforward.
Mhm... It can be very simple - you can construct it as a string with @"...@". Add StringBuilder for some speed if there are truly dynamic XMLs with lots of concats. Its way faster then doing regular C# mumbo jumbo and you can test validity easily with [xml].
I generated tones of XML like that and its also very fast. Don't go by the book, rules are there for mediocre :)
Mhm... It can be very simple - you can construct it as a string with @"...@". Add StringBuilder for some speed if there are truly dynamic XMLs with lots of concats. Its way faster then doing regular C# mumbo jumbo and you can test validity easily with [xml].
I generated tones of XML like that and its also very fast. Don't go by the book, rules are there for mediocre :)