Search
Setup for Free
C
C#
•
3y ago
Binto86
✅ Can i put constraint on ctor in interface
I know the name is kinda misleading
, but i couldn
't think of anything else
. So can i have interface
, that defines how will ctor of the class that implements the interface look like
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,129
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
❔ Defining base impl ctor in interface
C
C# / help
3y ago
✅ where constraint on interface method
C
C# / help
2y ago
✅ Is it possible to put a generic constraint on a record?
C
C# / help
3y ago
❔ Ctor DI vs IServiceProvider.GetService
C
C# / help
4y ago