Do you mean generate an instance of this class from this data, or generate a class definition from this data? For the latter, you can use an XSD to C# generator to get a class definition that would hold this information. For the former...it's more complicated. See below.
Is this data inside a CDATA element?
If so, converting this into an instance of a C# class might be a little more difficult.
If not, it's actually fairly simple.
Take a look at LINQ-to-XML: http://msdn.microsoft.com/en-us/library/bb387061.aspx
I've used LINQ to XML to parse XML files directly into classes this way:
List<Parameter> tempList = (from param in x.Descendants("Parameter")
select new Parameter
{
Name = param.Attribute("Name").Value,
Value = param.Attribute("Value").Value,
Run = Convert.ToBoolean(param.Attribute("Run").Value),
Number = (int?) param.Attribute("Number"),
Directory = param.Attribute("Directory").Value,
Filename = (string)param.Attribute("Filename") ?? "None",
Source = (string)param.Attribute("Source") ?? "None",
FileTypes = (string)param.Attribute("FileTypes") ?? "None"
}).ToList();
X here is an XDocument, Parameter is a class with Name, Value, Run, etc members. x.Descendants gets you the children of the root node where they are a node named Parameter. You can access the attribute values, and set your member variables equal to them. This way you get a list of classes representing all the elements of a certain kind in your xml file, and can then spend less time parsing and more time being awesome.