public int Size() { // 5 indicates sizeof(byte) * 3 + sizeof(UInt16) int size = sizeof(byte) * 5; if (this.ByteCount == 0xBABE) { size += 4; } return size; } }