C# Anonymous Methods vs. Lambda Expressions

preview_player
Показать описание
Compares C# anonymous methods to C# lambda expressions.
Рекомендации по теме
Комментарии
Автор

I've read many examples. I've had people talk about it, but they sound just like the book. You've completely help me understand the delegate, actions, and lambda features of C#. Best examples !
Thank you
-Lee

skleesk
Автор

You are an amazing teacher. Straight to the point, no beating around the bush. Keep up these videos please

AhmadAlMutawa_abunoor
Автор

You truly are a King, Please Come back again, we need you.

hasnainfareed
Автор

After all these years your stuff is still relevant, and a great refresher.

It occurred to me as I went through these videos this time that delegate chaining is a great way to use the Facade design pattern, providing a simple interface to a complex series of tasks which execute in a particular order.

gregoryshields
Автор

Awesome videos, sir! I've learned so much!

LilBrownieD
Автор

Right on. Thanks. Share the channel on Facebook, Google+, whatever. That's the best thanks. ;)

Glad everything helped you out!

JamieKingCS
Автор

A flower just opened in my mind. Thank you!

ihspan
Автор

4:32 Fully agree, keep your code clean. I have PTSD from my teacher who got off of writing unnecessary verbose code (show-off?) and made it a nightmare to follow his lectures.

mosman
Автор

Means there is no technical difference between a lambda expression and an anonymous method, its all about the programmer who will get ease to write code for such methods who have only 1 expression in their body.

AmmarTheTrainer
Автор

You very clearly in this video, particularly towards the end, avoid lambda abuse. It seems some people are so in love with the convenience of them that they sometimes or even frequently use lambdas for things that logically deserve to be named functions, but you simply do not.

jvsnyc
Автор

Can you get your advance. My rule with lamdas is only if I don't need to reuse the code. Is there a style you follow?

IamusTheFox