Want to know more? Just ask below. You can find the source at github.com/JasperKent/Delegates-and-Lambdas And if you want to see more videos, subscribe here: kzbin.info/door/qWQzlUDdllnLmtgfSgYTCA
@antoninvojtesek10842 жыл бұрын
I am very impressed by the quality and clarity of your explanation. Hat down.
@andywilson5677 Жыл бұрын
This is the best C# channel I've found on youtube. Very clear explanations. Thank you!
@hurricane84332 жыл бұрын
This is the best tutorial on an abstract concept. Thank you Ser.
@nicholasziglio3 жыл бұрын
I can't thank you enough for the beautiful and crystal clear explanation! There are so many poor explanations I have wasted my time on.. I'm so happy I found this gem :)
@Maxim_Grekov2 жыл бұрын
I'm shocked that Delegates is so easy stuff! When I've started learning Func, Action, Lambdas were so confusing for me. Thank you!!!
@jankool012 жыл бұрын
The best explanation on KZbin and it has fewer than 1k views.
@marceloleoncaceres68266 ай бұрын
Great examples, thanks for sharing them,
@DavidGilden8 күн бұрын
Great lesson ❤
@barnabassolomon16299 ай бұрын
bless u
@drleandrocorrea2 жыл бұрын
Thank you very much. Your videos are really clear.
@bioanu2 жыл бұрын
Hi Jasper! I have to thank you very much because of your mini series I finally understand what a delegate is!! I have no words to thank you!! The only ambiguity is the connection between the lambda expressions and anonymous functions. At 10:25 "a lambda is just a shorthand way of writing and passing an anonymous function to a delegate". Could you explain more?
@CodingTutorialsAreGo2 жыл бұрын
The point is simply that when we use a lambda, we don't give it a name. 'Double' is a named function. 'x => x * 2' does the same thing, but doesn't have a name.
@bioanu2 жыл бұрын
@@CodingTutorialsAreGo Yes, this is crystal clear. What confuse me is the idea of passing an anonymous function to a delegate. An anonymous function returns a delegate, but I do not know it could be passed to a delegate
@CodingTutorialsAreGo2 жыл бұрын
@@bioanu No. Just like any function, and anonymous function returns and object of a particular type or void. I think the confusion may be down to the fact that C# also has a redundant feature to create anonymous functions that uses the keyword 'delegate'. But these functionally equivalent to lambdas and are completely superseded by them.
@Chapali9a3 жыл бұрын
Excellent lesson. Finally I understood delegates and func. Thank you. Any chance of a lesson on Interface with real world implementation or examples.
@sky-soft-20248 ай бұрын
Thank you :)
@giridharamadhavan22004 жыл бұрын
Is there any situation where we have to use only delegate and not by using Func or Action ?
@CodingTutorialsAreGo4 жыл бұрын
Thanks for the question. I'm not sure quite what you're getting at. Certainly you don't have to use Func or Action, you just need to declare a variable of a delegate type, which you could do explicitly or with other generics such as Predicate. Also, you could simply assign into a variable with implicit type var, but in practice it doesn't get you very far.