public int Size() { int size = sizeof(byte) * 5; if (this.HasGuid != 0) { // PropertyGuid holds 16 bytes. size += 16; } return size; } }