If you change the class it will serialize the name field too.
public class cIntList
{
public string Name{ get; set; }
[XmlElement("")]
public List<IntData> IntList{ get; set; }
public cIntList()
{
Name = "Name";
IntList = new List<IntData>();
IntList.Add(new IntData() { Value = 1 });
IntList.Add(new IntData() { Value = 2 });
}
}
You can change or remove the XmlElement attribute depending on your desired xml.