C# Tutorial - Using the ForEach Method with Lambda Expressions

preview_player
Показать описание
Conventional Foreach loops are fine for iterating over data, but as usual in C# there is another way!
In this video you will see a console application in which I demonstrate how you can use lambda expressions within the ForEach method to write a more readable way to iterate over a list.

I'll demonstrate an example that iterates over a simple string list followed by an example iterating over a list of more complex objects, so that you can improve your code and ultimately, your skills.

If you find this video useful, don't forget to like and subscribe, it really helps the channel.
Рекомендации по теме
Комментарии
Автор

Thanks Nick! This is what I was looking for, plus extra that gave a better understanding. Keep at it! =)

bootcampnikki
Автор

Nice, this was useful :) Thanks. For video brevity, I'd use the autocompletes where useful to avoid creating longer pauses and retyping.

peretternavn
Автор

Creating that list I feel it's a little verbose, check it. Great tutorial

broadshare
join shbcf.ru