Posts

Showing posts with the label Func Delegate
Image
Func Delegate In C# Func Delegate in C#: ·         A delegate is a type safe mechanism, one of the important and built -in delegate or a built-in generic delegate is “Func Delegate”. ·         When ever we define a delegate then we should be analyzing the requirement whether it must have return type, either one or multiple parameter based on the method defined. ·         We can say func delegate as Function delegate which means method with return type and zero to one or more parameter. ·         Func Delegate has 17 overloaded methods i.e. Method with no parameter to method takes 16 parameters. ·         Func Delegate has been designed to support the method has return type. ·         Func Delegate has been designed to work with Anonymous type as well as lambda expr...