摘要: Both delegates and interfaces enable a class designer to separate type declarations and implementation.A giveninterfacecan be inherited and implemente... 阅读全文
posted @ 2013-02-01 17:10 chuwachen 阅读(104) 评论(0) 推荐(0)
摘要: Adelegateis a type that safely encapsulates a method, similar to a function pointer in C and C++.Unlike C function pointers, delegates are object-orie... 阅读全文
posted @ 2013-02-01 15:55 chuwachen 阅读(314) 评论(0) 推荐(0)