どこまで人任せなんだよ
とりあえずこれで実際にどういうXMLが出力されるか試せるから自分でやってみればいいよ
それでもわからなければまた質問に来い

string result;
List<ClassB> classBListInstance = new List<ClassB>();

// classBListInstanceに値を代入

System.Xml.Serialization.XmlSerializer ser = new System.Xml.Serialization.XmlSerializer(typeof(List<ClassB>));
using (System.IO.StringWriter sw = new System.IO.StringWriter()) {
  ser.Serialize(sw, classBListInstance);
  result = sw.ToString();
}