public void removeLastChild() {if ( children!=null ) {children.remove(children.size()-1);}}

public void removeLastChild ( ) { if ( children != null ) { children . remove ( children . size ( ) - 1 ) ; } }
public virtual void RemoveLastChild(){if (children != null){children.RemoveAt(children.Count - 1);}}
