什么时候在C#中使用委托代替接口? [英] when to use delegates instead of an interface in C#?
本文介绍了什么时候在C#中使用委托代替接口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
何时使用委托代替C#中的接口?
when to use delegates instead of an interface in C#?
推荐答案
任何努力?互联网上已有非常好的文章和白皮书。
查看MSDN和CP:
http://msdn.microsoft.com/en-us/ library / ms173173%28v = vs.100%29.aspx [ ^ ]
接口与代表 [ ^ ]
Any effort? There are very good article ans white papers already available on internet.
Look at MSDN and on CP:
http://msdn.microsoft.com/en-us/library/ms173173%28v=vs.100%29.aspx[^]
Interfaces vs Delegates[^]
这篇关于什么时候在C#中使用委托代替接口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文