When are interfaces needed?

前端 未结 15 1571
日久生厌
日久生厌 2020-12-13 00:56

(In the context of .NET for what its worth)

I tend to not use inheritance and rarely use interfaces. I came across someone who thinks interfaces are the best thing

15条回答
  •  臣服心动
    2020-12-13 01:19

    I think that you describe there top-down design method.
    You don't have to do it, but sometimes he really help.

提交回复
热议问题