I want to create a class that inherits from Menu and whose constructor
calls the parameterless Menu constructor.
Why does this code produce CS1501 ("No overload for 'Menu' takes '0'
arguments")? How can I correct it?
public class DerivedMenu : System.Windows.Forms.Menu
{
public DerivedMenu(string xyz) : base()
{
// some code here
}
}
P.