© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•15mo ago
ilyris.

Should you make an interface for a specific Service Class which is more niche.

Im new to C# / .Net (OOP in general) and I am curious if I should be writing up an interface with my Service Class for one of my Get routes. It's very niche and I dont expect it to be used (the interface) in other Classes.
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

Guys in my service class my interface is throwing some error can you help:
C#CC# / help
2y ago
✅ Which is the more correct way of class instantiation?
C#CC# / help
2y ago
❔ does an interface go inside a generic parent class?
C#CC# / help
4y ago
✅ a class implementing a generic interface with more than one interface as one generic type argument
C#CC# / help
3y ago