C# Basic LINQ Translation

  Рет қаралды 14,626

Jamie King

Jamie King

12 жыл бұрын

Demonstrates how the C# compiler convertes a regular LINQ expression.

Пікірлер: 13
@stevegreen3442
@stevegreen3442 4 жыл бұрын
Jamie is awesome, I'm a trainer and I love your style and your knowledge, many thanks for these great videos, they are sooooo much appreciated.
@evilfishtank00
@evilfishtank00 12 жыл бұрын
great videos. have a few c# resources laying around, this blows them all away in terms of getting an initial foothold/grasp of the concept, which in turn allows me to actually get something out of the other sources as well. Much obliged.
@Beitouzi
@Beitouzi 6 жыл бұрын
Great explanation
@JamieKingCS
@JamieKingCS 12 жыл бұрын
They are ordered in the playlists. Use the playlists.
@JamieKingCS
@JamieKingCS 11 жыл бұрын
Welcome to the fire! Sounds like you need to use the entity framework. You can do joins and such, but using the entity framework to "dot" into the tables you need is much better.
@ghostbusterz
@ghostbusterz 9 жыл бұрын
The select statement in the method syntax seems useless in this case as you are just returning the same thing you pass in. Stopping after the Where method would have yielded the same result if I'm not mistaken.
@vivahuntsvegas
@vivahuntsvegas 11 жыл бұрын
I am new to LINQ but I got thrown into the fire... I need to select from multiple tables and populate several dropdowns and a gridview base on the dropdown selections. Is there anyway to group all those selects into one list then use that list to populate my gridview?
@toddvance1568
@toddvance1568 Жыл бұрын
I'm confused why we need .Select ( not the linq style but the . style ) ... because I get the same return without .Select
@notker88
@notker88 7 жыл бұрын
Nice video. But I'm pretty sure that the method syntax is wrapped by a delegate instance, because i read at the msdn docu that the query gets only executed by using it in the foreach and not before by only declaring the query. So it must be a delegate-instance wrapper around it, theoretically. But I'm not sure :). Am I right Jamie?
@111ramico
@111ramico 3 жыл бұрын
let me call it 'sql sugar' here are my findings when i use it i have to use select e.g from n in numbers where n > 5 select n; however when i say result = numbers.where(n=>n > 5) i don't have to write select and it works as expected note: sql sugar requires select ???????
@frankbraker
@frankbraker 8 жыл бұрын
I was just beginning to believe the chain was each call returning the Enumerable class, which could then call the other methods of that class. But instead, you are saying this is a sort of nested extension method. [Which is clear because the methods for Enumerable return an IEnumerable or other, not an Enumberable. Okay.] They are two different things, but can now at least tell the difference - thanks!
@Grimlock1979
@Grimlock1979 8 жыл бұрын
+frankbraker You should watch the rest of this playlist. It will all become clear ;)
@blackhawkLprince
@blackhawkLprince 12 жыл бұрын
you should number your videos when they are about the same topic
C# Writing Your Own LINQ Extension Method
7:33
Jamie King
Рет қаралды 13 М.
C# Hello LINQ
5:19
Jamie King
Рет қаралды 27 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 62 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 197 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 500 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 67 МЛН
C# LINQ - group by
7:03
Jamie King
Рет қаралды 26 М.
struct Basics | C Programming Tutorial
24:44
Portfolio Courses
Рет қаралды 133 М.
C# LINQ - Grouping By Multiple Fields
6:54
Jamie King
Рет қаралды 18 М.
LINQ Join and Group
9:31
Jamie King
Рет қаралды 14 М.
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 433 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 62 МЛН