Having the same problem, I was last week only with inheiriting from the parent class:
public ExtendedTime(int Hour, int Minute, String TimeZone) :base(hour, minute)
{
timeZone = TimeZone;
}
:base(hour,minute)there is where I have such an error. Says the same problem for both hour and minute. Now, as a rule, I would say that I am missing something far as a property, but I tried it, and it did not bring sadness. in the parent class, the hour and minute are declared as follows:
internal int hour;
internal int minute;
And I have settings for setters and getters.
source
share