public int Serialize(int offset, byte[] data){int result = 0;int nRecs = _list.Count;for (int i = 0; i < nRecs; i++){Record rec = (Record)_list[i];result += rec.Serialize(offset + result, data);}return result;}