LICT .NET Training | Kamal Protap Sir | Part 3

09/11/2017 vids

Property:

Automatic Property:

Delegates:

Lambda Expression with FUNC:

Some logics:

Lambda using Function:

Multicast Delegates:

A delegate instance holding the multiple method at a time is multicast delegate.
But the rule is that all the method must be altered because all method in a single instance they remain present. Multiple reference method at a  time.

Anonymous Method:
Unnamed function. In the bracket we are writing the logic. Unnamed method we are writing the logic. Unanmed method.

 

The same AnonymousMethod work can be done in a single line with this lambda operation:

=> This is known as goes to operator and it is similar to AnonymousMethod()

Linq also using lambda not only Delegate

Func:

Func is a readymade function where the first data type is for input and the second one is for output. It does not need any delegate to declare.

Action:
Action does not support any return type:

 

 

 

 

 

 

Spread the love