G
Guest
Hi,
I have a class (ClassA) which inherits another class (ClassB). I need to
instantiate ClassB using a value determined in ClassA's constructor - ie can
I have a constructor as follows;
public ClassA()
{
//Do various things
base(iMyValue);
}
....instead of...
public ClassA() : base(iMyValue)
{
//Do various things
}
Thanks in advance,
Al.
I have a class (ClassA) which inherits another class (ClassB). I need to
instantiate ClassB using a value determined in ClassA's constructor - ie can
I have a constructor as follows;
public ClassA()
{
//Do various things
base(iMyValue);
}
....instead of...
public ClassA() : base(iMyValue)
{
//Do various things
}
Thanks in advance,
Al.