If you've existing XML files that you need to manipulate in C# there is no need to write your own class by hand. Visual Studio ships with a little known tool XSD.exe which will do all the leg work for you.
Step 1 (from a command prompt):
This will create an XSD based on the XML file, which in step 2 will allow the tool to create the C# class(s)
Step 2 (from a command prompt):
Call the tool again, this time providing the newly created .xsd file, along with /c (for classes, you could use /d for a dataset) and /n for your project's namespace
XSD.exe [XSD_FILE] /c /n:[PROJECT NAMESPACE]
Other parameters that might be useful are /o: (out) which specifies the output directory
Step 3:
Add the newly created .cs file to your project, and bingo, job done!