Enable constructor contracts
That would be great to be able to define methods in interfaces as contructors - I mean a way of forcing the implementers to have a constructor matching the one defined in the interface.
Also that would be great to have static interfaces (contracts, which static classes can implement).
45
votes
1 comment
-
Jon
commented
This is the feature I most wish C# had.