© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
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]
'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.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What does this error mean?
C#CC# / help
2y ago
What does this mean
C#CC# / help
16mo ago
❔ What does this exception mean?
C#CC# / help
3y ago
What does code "new" means.
C#CC# / help
3y ago