Understand C# LAMBDA Expressions in only 2 minutes!

preview_player
Показать описание
🔥 Wanna KNOW how to use LAMBDA in C#? THIS is the video you have been looking for!

We'll make sure to turn you into a true developer in no time!

So, what is C#?
C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.

And what is LAMBDA, then?
You use a lambda expression to create an anonymous function. Use the lambda declaration operator to separate the lambda's parameter list from its body.
Any lambda expression can be converted to a delegate type. The delegate type to which a lambda expression can be converted is defined by the types of its parameters and return value. If a lambda expression doesn't return a value, it can be converted to one of the Action delegate types; otherwise, it can be converted to one of the Func delegate types. For example, a lambda expression that has two parameters and returns no value can be converted to an Action delegate. A lambda expression with one parameter that returns a value can be converted to a Func delegate.

To learn more, make sure to watch the video, and we promise you that you'll become a C# developer by the end of the course! Have fun!

#csharp #coding #tutorial #learn #microsoft #net #lambdaexpression #dotnet

TAGS
Tutorials,Tutorial,Programming,Course,Learn,Step by step,guide,development,programmer,video course,video tutorial,learn how to,how to,visual studio,c#,.net,.net core,dotnet,visual studio 2019,core,code,asp,asp net,c sharp,coding,csharp,programming,api,rest api,rest,json,http,api testing,software development,c# tutorial for beginners,c# tutorial,c# restsharp tutorial,how to call post api in c#,csharp api,step by step,mvc,web api,rest api tutorial

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

Рекомендации по теме
Комментарии
Автор



We'll make sure to turn you into a true developer in no time!

tutorialsEUC
Автор

This does not go anywhere into a discussion of Delegates or Anonymous Methods - which is what Lambda Expressions are built on top of.

brrrrr
Автор

It's more of LINQ lesson than lambda expressions..

RickSteadX
Автор

This is the worst explanation. It doesn't clarify anything and only leaves more questions. How does it know that p is a person? What is the point of typing out p => p.Age instead of just typing OrderBy(Age)? What do all the other parts of the expression do? They aren't just there for no reason. How does it know which way to sort? Maybe instead of sorting by oldest to youngest I want youngest to oldest. You mostly explained what the end result was but not how it works. I can't use something if I don't know how it works.

MajorSquiggles
Автор

That is not lambda tutorial that is Linq tutorial

racmanov
Автор

Great Video, thank you so much!!
(What font is that?)

cheeseyfghter
Автор

What about using a Lambda expression without Linq

kitsurubami
Автор

Thank you very much, you saved me at the last time of my assignment.

LionKing_Mufasa
Автор

Thank you Very much for this explanation within sort time.👍

barenyabinayak
Автор

Thankyou sir. Also, youre accent is awesome.

thatguyty
Автор

I really appreciate for very simple explaination

TheHabibpk
Автор

... I feel like I was lied to in my life.

MidnightTsuki
Автор

the "input" is "people" and the "expression" is "p"? that is the key for lamda? . I like your video but I am wondering the background behind lamda, cause I am reading the documetnation as well.

risingforce
Автор

One thing I don't get: how does the program know that person is an element in this list? I may be overcomplicating, but I am horribly stuck on this lambda expression syntax for some reason.

awdsgrgde
Автор

i absolutely despise the lambda operator because it does about 10 different things depending on how you use it.

whitetiana
Автор

You really shouldn't say that p is a Person but that it is a parameter which you have chosen to call p and which is of the list item type, i.e., Person.

AndreasToth
Автор

Basically if someone wants to understand and had to watch this bullshit
The left side of the lambda expression is just parameter keep in mind that lambda is basically function but pretty small one so left side of the lambda is parameter and then comes the code what you want to do with that prameter

jbtnjjz
Автор

video is 4 minutes long.
i'm out

slowfuse