Category «Visual Studio»

How To Generate C# class from XML?

Using Visual Studio 2012 or newer you can just ‘Special Paste’ your XML file as C# classes. Three Simple Steps Copy your XML file’s content to the clipboard In the editor, select the place where you want your classes to be pasted From the menu, select EDIT > Paste Special > Paste XML As Classes …