public int Size() { // 5 indicates sizeof(byte) * 3 + sizeof(UInt16) int size = sizeof(byte) * 5; if (this.Bookmark != null) { size += this.Bookmark.Length; } return size; } }