using System; using System.Collections.Generic; using System.Linq; using System.Text; using disc1; using disc1.XML; using System.IO; namespace MSDNForums { public class Output { int row; int column; List person = new List(); public int Row { get { return row; } set { row = value; } } public int Column { get { return column; } set { column = value; } } public List Person { get { return person; } set { person = value; } } public void Load(string path) { if (File.Exists(path)) { Output o = ObjectXMLSerializer.Load(path); this.row = o.row; this.column = o.column; this.person = o.person; } } public void Save(string path) { ObjectXMLSerializer.Save(this, path); } } }