public MemoryElement LastChild() { if (!this.expanded) { return this; } return this.children[this.children.Count - 1].LastChild(); }