public int Size() { // 5 indicates sizeof(byte) * 3 + sizeof(UInt16) int size = sizeof(byte) * 5; for (int i = 0; i < this.PropertyTagCount; i++) { size += this.PropertyTags[i].Size(); } return size; } }