C#C
C#3y ago
0_00

What does this error code mean

'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.
Was this page helpful?