'Supervisor' does not contain a definition for 'getlastName' and no accessible extension method 'getlastName' accepting a first argument of type 'Supervisor' could be found (are you missing a using directive or an assembly reference?) [assignmentrandom1]
'Supervisor' does not contain a definition for 'getlastName' and no accessible extension method 'getlastName' accepting a first argument of type 'Supervisor' could be found (are you missing a using directive or an assembly reference?) [assignmentrandom1]
To clarify, I made two children class that both call 'getlastName', however only one class gives this error while the other class works fine when called.