private void _TestSerialization ( MenuFile first ) { byte[] bytes = first.SaveToMemory(); MenuFile second = bytes .RestoreObjectFromMemory <MenuFile>(); _CompareMenu(first, second); }