[Words]: commission [Phonetic]: wěi tuō Definition: (1) also known as "commission." 2 would entrust their affairs to act on behalf of others. 3 knot, knot satisfied. 4 Utah basis, relying on. (Delegate) [Define]: A delegate is a class that defines the type of method makes it possible to approach as a parameter to be passed to another method, which will be dynamically assigned to the practice of the method parameters, to avoid large-scale use in the program If-Else (Switch) statement, while making the application more scalable. A reference type, which is hosted version of C + + function pointers. Delegate can reference both instance and static (in Visual Basic for Shared) method, and the function pointer can only reference static (in Visual Basic for Shared) methods. In C #, a delegate can be stored as a reference to the type of function. Declare a delegate is very similar function, but without the body of the function, and to use the delegate keyword. Delegate declaration specifies a function signature, which includes a return type and parameter list. After defining a delegate, you can declare a variable of the delegate type. This variable is then initialized with the same signature as the delegate function reference. After that, you can call this function using the delegate variable, as a function of the variable is the same.
Translated by Google
English Expression
: cosign, delegate, commitment
n.: trust; entrust, commission, award a contract, committal, committing, consignation, consignment, delegation, devolution