public int Size() { // 14 indicates sizeof(byte) * 6 + sizeof(UInt64) int size = sizeof(byte) * 14; if (this.NewFolderName != null) { size += this.NewFolderName.Length; } return size; } }