コード例 #1
0
        static void Main(string[] args)
        {
            RootCell rootCell = new RootCell();

            rootCell.Serialize(FILENAME, rootCell);
            rootCell.Deserialize(FILENAME);
        }
コード例 #2
0
        static void Main(string[] args)
        {
            RootCell rootCell = new RootCell()
            {
                cells = new List <Cell>()
                {
                    new Cell()
                    {
                        cellName = "123"
                    },
                    new Cell()
                    {
                        cellName = "456"
                    }
                }
            };

            rootCell.Serialize(FILENAME, rootCell);
            RootCell readCells = rootCell.Deserialize(FILENAME);
        }