Spcial class :Deleagete and MulticastDelegate

You can't derive from Delegate and MulticastDelegate  except compiler and some tools, because they are special class. If you declar a delegate with method, you can have a constructer and three method, invoke, begininvoke, endinvoke.

i think the three method with param vary on the delegate method. so compiler auto help you to build these method instead of you.  you can use some reflector tool, for examle ildasm , ilspy  to check  a simple exe by yourself.

posted @ 2016-01-25 23:37  penney  阅读(110)  评论(0)    收藏  举报