委派型别的宣告与方法签章类似。
The declaration of a delegate type is similar to a method signature.
每一个委派型别说明了引数的数目和引数的型别,和它可以封装之方法的传回值型别。
Each delegate type describes the number and types of the arguments, and the type of the return value of methods that it can encapsulate.
使用委派,而非会增加型别安全和安全性顾虑的函式指标。
Use of delegates instead of function Pointers for increased type safety and security.
应用推荐