Serialize C# dynamic and Anonymous types to XML 11 years ago 3 min read anonymous typedynamicserializexml Dynamic / Anonymous types in C# was a great improvement to the framework, made in version 3.0. I use it a lot when doing AJAX callbacks from JavaScript to ASP.NET MVC Controllers,