© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•8mo ago•
6 replies
Cat4Life

✅ How can I call methods on the class the is implementing my interface

I'm using default implementation
public interface IFace {

foo() {
implementingClass.DoSomething();
}
}

public c lass classA : IFace {
...
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ abstract class virtual methods vs default implementation interface
C#CC# / help
4y ago
❔ Static interface methods
C#CC# / help
3y ago
❔ Why hasn't my class implemented the interface?
C#CC# / help
4y ago
Interface implementing generic parameters
C#CC# / help
2y ago