protected override void WriteEnd() { xmlWriter.WriteEndElement(); // RaceCourseData xmlWriter.WriteEndElement(); // CourseData }