Do you want to generate C# class from an XML file ?. You can use the xsd tool to do it.
How to Generate C# class from a XML file ?
1. Just launch the Visual Studio Developer Command prompt from the Windows Start menu.
2. Type the command xsd and specify the path of the xml file.
3. This will create the C# classes in the current directory.