mscorlib 4.0.0.0 Contravariant Contravariant Contravariant Contravariant Contravariant Covariant System.Delegate `` `` `` `` `` TResult To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added.

You can use this delegate to represent a method that can be passed as a parameter without explicitly declaring a custom delegate. The encapsulated method must correspond to the method signature that is defined by this delegate. This means that the encapsulated method must have five parameters, each of which is passed to it by value, and that it must return a value.

To reference a method that has five parameters and returns void (or in Visual Basic, that is declared as a Sub rather than as a Function), use the generic delegate instead.

You can also use the delegate with anonymous methods and lambda expressions.

The underlying type of a lambda expression is one of the generic Func delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate.

Encapsulates a method that has five parameters and returns a value of the type specified by the parameter.