F
Fernando Rodríguez
Hi,
If I try to compile the code below, I get a weird error that seems to be
related with hte constructors.
-------------------------------------
class Action : System.Object
{
Object _something;
public Action( Object something )
{
_something = something;
}
public virtual void go()
{
Console.WriteLine(_something.ToString());
}
}
class Prueba : Action
{
public override void go()
{
Console.Write("Prueba says: ");
base.go();
}
}
--------------------------------------------
The error says something like: no overload for the method Action requires 0
arguments.
What the Hell does this mean? O
Thanks
If I try to compile the code below, I get a weird error that seems to be
related with hte constructors.
-------------------------------------
class Action : System.Object
{
Object _something;
public Action( Object something )
{
_something = something;
}
public virtual void go()
{
Console.WriteLine(_something.ToString());
}
}
class Prueba : Action
{
public override void go()
{
Console.Write("Prueba says: ");
base.go();
}
}
--------------------------------------------
The error says something like: no overload for the method Action requires 0
arguments.
What the Hell does this mean? O

Thanks