G
Guest
Class A extends Control and creates a "new" Size property hiding Size from
the Control class.
A method M from another class (not related to A or Control) has a parameter
of type Control.
Question: If an A object is passed to M, is there a way to call Size from A
instead of Size from Control ?
the Control class.
A method M from another class (not related to A or Control) has a parameter
of type Control.
Question: If an A object is passed to M, is there a way to call Size from A
instead of Size from Control ?