开发者

Where and why do we use an interface ? c# [duplicate]

开发者 https://www.devze.com 2023-01-17 15:24 出处:网络
This question already has answers here: Closed 12开发者_开发知识库 years ago. Possible Duplicate:
This question already has answers here: Closed 12开发者_开发知识库 years ago.

Possible Duplicate:

.net Interface explanation

Where and why do we use an interface ?, c#


Introducing yourself to design patterns should help.

In 2 words - when we need to abstract a type's contract from its implementation.

0

精彩评论

暂无评论...
验证码 换一张
取 消