I am not sure what the problem is but what I'm trying to do is to pass argument to a base constructor from a derived class's
error:
Invalid token 'base' in class, struct, or interface member declaration
here is my base class code:
public class EmployeeRegistrationBase
{
//constructor
public EmployeeRegistrationBase(string methodName)
{
//more code...
}
}
here is my derived class:
public class USER_REG_LOG_INFO : base(EmployeeRegistrationBase("some_method_name"))
{
//more code....
}