It's literally SQL except you put your select statement in the end. Saves me some time :)
@Russellye5man14 жыл бұрын
A straight forward, no nonsense tutorial minus the usual ego and padding, in an accent I can listen to - thank you!
@derekbanas4 жыл бұрын
Thank you for the compliment :)
@tuck5825 жыл бұрын
"whhhheeelllloooo innnnet..." I get excited now when I hear it, like the intro to a netflix series...
@derekbanas5 жыл бұрын
That's funny :) I'm happy you enjoy the videos
@RP-mp4ow5 жыл бұрын
Same!
@StygianStyle3 жыл бұрын
It's like AOL: yee-ooo gawt may-el!
@Robber77 жыл бұрын
Excellent introduction to LINQ. This is my first time seeing it and I love it already. Thanks for not havin any bullshit in the video, only good stuff. Thanks bud.
@derekbanas7 жыл бұрын
Thank you for the nice compliment :)
@nullptryt2 жыл бұрын
This is exactly what I needed and you couldn't have explained it any simpler. Thank you sir!!
@ComandanteJ6 жыл бұрын
This is pretty good! Clear and to the point, with a good rythm. I'm attending a coding bootcamp and tomorrow we'll dedicate the day to LINQ, so this is perfect to jumpstart my knowledge before we dig into it.
@derekbanas6 жыл бұрын
Thank you :) Have fun at your bootcamp
@ComandanteJ6 жыл бұрын
Derek Banas Will do!
@ComandanteJ6 жыл бұрын
@@derekbanas Hey! I ended up getting hired after the Bootcamp, in part thanks to your vids, so, that's awesome, hehe. In relation to this one, would it be difficult to make some of the properties dynamic? For example, something like: order by dog("some string").
@hasan43347 жыл бұрын
just Brilliant! I've read a chapter on LINQ, but i couldnt quit figure out the groupJoin. Thanks to your video, i finally get it!
@derekbanas7 жыл бұрын
That's great! I'm glad it helped :)
@lawrencemilne51457 жыл бұрын
ty for all your vids. i am a highschool student and its hard to find good free resources on programming. you are always the first place i look for tuts bc you get right to the point and don't waste time
@derekbanas7 жыл бұрын
Thank you for the compliment :) I'm happy I can be of help
@Rajivrocks-Ltd.4 жыл бұрын
Thank you very much good sir! I've been struggeling to understand LINQ but I'm getting to understand it way more when you explain it then when my teacher explains it. Still have problems with subqueries in combination with many to many relationships :(
@derekbanas4 жыл бұрын
I'm happy I could help :)
@NoOne-wf6hm3 жыл бұрын
Loved all the the parts where Derek explains (again and again): Not to Forget to Call the Methods in order to work! xD This is the same as saying: the developer is responsible to clean his mess (Clean the Code and Dispose Resources). Two Hands up! Superb Tutorial!
@derekbanas3 жыл бұрын
Thank you very much :) I'm happy you liked it
@demowarui6 жыл бұрын
Thank you for the tutorial! As I'm already familiar with SQL, this was super easy for me to follow. Big fonts, clear language and structure, perfect. One point though: joining animals to their owners based on their respective IDs seems wrong to me, I'd expect at least an animal.OwnerID property to join it with owner.OwnerID
@derekbanas6 жыл бұрын
I'm very happy to be of help :) I agree. I did that mainly to save time
@simonkalu4 жыл бұрын
This is a good reference. Derek is awesome
@derekbanas4 жыл бұрын
Thank you :) Happy I could help
@juanlizle4 жыл бұрын
Derek, Awesome tutorial!! Thank you, at 23:04 The error occurred because you need to have int totalAnimals = 0; in order to use totalAnimals++; in the foreach loop.
@jnwatts6 жыл бұрын
Loving this....thank you so much! This is a great refresher for me.
@derekbanas6 жыл бұрын
I'm very happy to be able to help :)
@darielsubiros37874 жыл бұрын
Excellent is not a good enough word to describe your skills to produce such a good tutorial! Keep it up! God bless you!
@derekbanas4 жыл бұрын
Thank you for the compliment :) May God bless you.
@antalsergiu76494 жыл бұрын
Very cool tutorial but pretty confusing in the end with the variable names you used, for example when creating the list with Animals you Used Animals = from owner2 in ownerGroup select owner2, you could use "animal" for the variable and it would have been more clear, something like from animal in ownerGroup select animal. At least for me it took some minutes to figure out what you tried to do there, sometimes bad variable naming is raising more questions than the code itself. That's just my 2cents. Thanks for the tutorial!
@derekbanas4 жыл бұрын
Thank you for the input. Sorry about the strange names
@christianrodier33815 жыл бұрын
That was very helpful. I like the bite size format
@derekbanas5 жыл бұрын
Thank you :)
@VoOoLoX7 жыл бұрын
Great video as always, I've learned a lot in these few videos even tho I already have few years of experience with C#. I'd like to see a tutorial on OpenGL.
@derekbanas7 жыл бұрын
Thank you very much :) I plan on getting to OpenGL this year. I'll be doing much more with games and graphics soon
@zaferzafferoglu95205 жыл бұрын
You offer better quality content than paid versions. Thank you very much for your efforts. respects from Turkey, I owe you a beer if you come
@derekbanas5 жыл бұрын
Thank you for the nice compliment :) I wish I was wealthy enough to travel all over the world. I find other countries extremely interesting. Also I have been offered beer in nearly every country so that would be fun :)
@zaferzafferoglu95205 жыл бұрын
@@derekbanas It is possible to visit in cheap periods. You are a citizen of a country that does not have a visa problem.
@arclasses15273 жыл бұрын
nice explanation. this tutorial has made me understand how to write linq queries easy and simple. thanks for the video. Thanx :)
@derekbanas3 жыл бұрын
I'm very happy to be able to help :)
@The123Augustas3 жыл бұрын
9 hours until exam ty man
@maryz66727 жыл бұрын
when i comes to code derek is the epitome of the best. i've never seen anyone this good.
@futuregeneration8348 Жыл бұрын
Thank you so much. It was great but can you make video about same thing but with c# GUI
@dawidkowalski75017 жыл бұрын
I' m your big fan! Keep doing this great work!
@derekbanas7 жыл бұрын
Thank you very much :)
@MatheusSilva-gx8sj5 жыл бұрын
Nice example! Thank you.
@derekbanas5 жыл бұрын
Happy I could help :)
@jimzoo52544 жыл бұрын
Thank you for your video. It is helpful. It may be more perfect if introducing group join with more details
@derekbanas4 жыл бұрын
Happy it helped :) I always have ways to improve
@manoelramon8283 Жыл бұрын
ArrayList and List are both collections. Just to remind you that.
@AKTSR4443 жыл бұрын
6:30 start to get lost
@BritshBeef16 жыл бұрын
Absolutely Brilliant! Keep up the good work.
@derekbanas6 жыл бұрын
Thank you very much :)
@gromstoso5 жыл бұрын
Helped a LOT, thanks man.
@derekbanas5 жыл бұрын
Happy I could help :)
@ReactionByAI4 жыл бұрын
Thank you. You explained it so well.
@derekbanas4 жыл бұрын
Thank you very much :)
@tomasoom74233 жыл бұрын
I already installed the Linq thing to my Visual Studio 2019 but for no reason at all, the System.Data.Linq is to available. What can i do to fix this error?
@ThePersBoy7 жыл бұрын
Thank u very much, everything about this video is great specially(the big font/zoom of the code) ;)
@derekbanas7 жыл бұрын
Thank you I'm very happy you liked it :)
@PixelTB3 жыл бұрын
How did you declared an array using Array? As far as I know the arrays are declared using a datatype and then the square brackets, for example: int[] numbers = new int[];
@bartonpaullevenson34276 жыл бұрын
Very good stuff. Thanks for posting.
@derekbanas6 жыл бұрын
Thank you :)
@aychtooo39817 жыл бұрын
Hey derek: You have, by far, the best tutorials out there! However I did notice one problem from your python tutorial you should fix in your C# tutorial: you did not cover enough libraries. I kind of wish, for C# at least, when you are done teaching the language, and maybe even when you are done making game idk your schedule, you should really spend one video each, no matter how short or long, to not cover the entire library, but at least the useful parts of multiple libraries
@derekbanas7 жыл бұрын
I plan on covering C# in massive detail like I did with Java
@wojtek93955 жыл бұрын
Nice tutorial, but I have a question because I am not sure if I understand the last part - it says owner2 while I think it should be animal2, am I wrong? At least my solution seems more intuitive for me
@j0nj14 жыл бұрын
Hi Derek, I started learning programming through SQL and have been trying to branch out into other interesting stuff. I'm trying to make sure I properly understood LINQ syntaxe. Could the last example you made be translated as follows into SQL ? : SELECT owner.Name Owner, GROUP_CONCAT(animal.name) AS Animals FROM owner o JOIN animal a ON (o.OwnerId = a.AnimalID) GROUP BY owner.Name Thanks !
@vungocanh40467 жыл бұрын
Tks Derek Banas. I very very like your videos. It's great :)
@derekbanas7 жыл бұрын
Thank you very much :)
@blyatman6357 жыл бұрын
Hi Derek, currently bench watching this. I was wondering why using a Arraylist instead of a generic List, is there any difference in performance speed or memory wise ?
@jaatharsh6 жыл бұрын
just awesomely explained, thanks Sir
@derekbanas6 жыл бұрын
Thank you very much :)
@sandeepvk7 жыл бұрын
Hi Derek, If you were to build a Pateron style Webapp what stack would you use ? Would a MEAN stack work well as compared to the classical MVC style using Django or flask or PHP ?
@derekbanas7 жыл бұрын
I'd use PHP and Laravel because that is what I use every day. Django would also be good for a big site. This opinion is purely based off of what I'm used to using
@jlitodelcid3265 жыл бұрын
I felt like a kid finding a candy when it compiled correctly :')
@derekbanas5 жыл бұрын
I get that feeling every day :)
@Hunter-fy1tp7 жыл бұрын
Sorry for my total off topic question about this video, but do you have a preference on tutorials/book for C# and Unity? I know you plan to do videos (thank you extremely!), but I've also been trying to find some other sources for that too; if you know any that'd be awesome :) Thanks Derek, keep up the good work!
@derekbanas7 жыл бұрын
When I was learning Unity I started with the tutorials on the site and then to blogs. There weren't really any good books at the time. I'm investigating now to see if that has changed
@2271masoud7 жыл бұрын
This tutorial talks a 500 page book Many thanks Derek
@derekbanas7 жыл бұрын
I'm happy you liked it :) Yes I'm basically covering everything you'd learn in a 1000 page book on C#
@mudzibaba5 жыл бұрын
@@derekbanas Books 0 : 1 Bananas
@Brandon-ob9rg3 жыл бұрын
Why in the world would anyone want to write SQL like syntax in their code?! This is madness!!!
@judasknox33543 жыл бұрын
The Group Join, left me spinning. It was a bit overwhelming, for me. I liked, how you explained the association between keywords and the variable they manipulate, but the naming of the variables, is a bit confusing, and I tend to get the var. names mixed up. Here is the Group Join, of the Animals heading, with the owners listed below them; even though I still don't have this digested intellectually, I managed to get it to work. // the arrays are the same ones as in this tutorial var groupJoin2 = from animal in animals orderby animal.AnimalID join owner in owners on animal.AnimalID equals owner.OwnerID into animalGroup select new { Animal = animal.Name, Owners = from animal2 in animalGroup orderby animal2.Name select animal2 }; foreach (var animalGroup in groupJoin2) { Console.WriteLine(animalGroup.Animal); foreach(var owner in animalGroup.Owners) { Console.WriteLine("* {0}", owner.Name); } } // THANK YOU FOR THE LESSON
@buffaloSoldier5196 жыл бұрын
Could not find an implementation of the source type? Trying to implement LISQ into my project which reads a JSON file contains albums and deserializes it. I have a class for all the album info and another class containing a list of the albums. Problem is a can't use LISQ without adding a list interface but if I do it can't deserialize the JSON file :(
@exzm25807 жыл бұрын
Hey Derek. I just have a question, do you need to be extremely good at maths to be a hacker or a programmer? Because that's what some people are posting on the Internet. If yes what exactly and specifically do you require?
@derekbanas7 жыл бұрын
Hey, In my opinion no. Math and programming involve logic, but I think it is of a different type. Programming is more about breaking big things down into a series of steps. Math is much more abstract. Get good at problem solving and you'll be a good programmer. Check out my learn to program playlist
@exzm25807 жыл бұрын
+Derek Banas Thanks a lot Derek I appreciate it. I will check the playlist right now.
@BinaryLizard7 жыл бұрын
Great tutorial, just a pity you used the non functional SQL-like syntax, the least preferred syntax. The extension methods are way more succinct, composable and aligned with other functional languages.
@derekbanas7 жыл бұрын
Thank you :) I covered the extension methods here kzbin.info/www/bejne/Zpq4gX6Qr7SBgMk
@BinaryLizard7 жыл бұрын
Oh fantastic, thanks for the link, on my way there now. :-)
@roberteliassen50207 жыл бұрын
Another great one! Thumbs up from me. This is way better than the stuff you pay for, except John Skeets stuff of course. But he's the God of the gods. ;-)
@derekbanas7 жыл бұрын
Thank you :) I agree John is a great guy
@SunnyApples7 жыл бұрын
Thank you very much for the lesson!
@derekbanas7 жыл бұрын
You're very welcome :)
@hamzaliaqat71927 жыл бұрын
I was waiting for it. please also do one tutorial on winform. I already knows it but I always learn new things from you
@derekbanas7 жыл бұрын
Windows forms are coming soon :)
@hamzaliaqat71927 жыл бұрын
Derek Banas Okay. thanks :). I'm actually very happy that you replied, i commented once before on your video, I thought you didn't reply me on it but I was wrong.
@derekbanas7 жыл бұрын
I reply to every comment KZbin sends me. Just make sure that you always create a new comment thread because KZbin only sends me those for some reason? My #1 purpose on KZbin is to answer questions and to help people.
@derekbanas7 жыл бұрын
WPF
@dosdeviant7 жыл бұрын
This would be absolutely unreal. I can't wait to see how cover WPF! Thanks for all your efforts.
@goranivetic37377 жыл бұрын
Thanks! found so many useful things watching your videos overall, but c# i like the most out of all prog languages :) Will you do Unity 3d tutorials maybe? Or Selenium + Nunit in c#?
@derekbanas7 жыл бұрын
Thank you :) Yes I'll start making Unity games over the next few weeks. I think I'll make PacMan first
@goranivetic37377 жыл бұрын
Awesome! I've used unity to check engine and its features, it is really awesome and i think that people will like it overall :) best of luck and please keep up this great work you do, you can't imagine how many people i know that found your tuts helpful :)
@derekbanas7 жыл бұрын
I'm happy you like the Unity idea and I'm always happy to hear that my videos help :)
@renevillalta276 жыл бұрын
simple and direct :) nice video
@derekbanas6 жыл бұрын
Thank you :)
@travislong28107 жыл бұрын
Now that I am getting the hang of this stuff but I've never built anything before do you or anyone have any suggestions on where to start? What would be some good first projects to do or recreate or maybe I should copy some projects online?
@derekbanas7 жыл бұрын
I'm going to randomly start making games with Unity in about a week and then on and off for a couple months. I think I'll make PacMan first
@travislong28107 жыл бұрын
Cool thanks Mr. Banas! I appreciate the very easy to follow tutorials. Thanks man! I have been practicing on VS with these for about 6 weeks. I spent 3 or 4 days on a video before progressing upward. I went from my first couple of days wondering where my brackets where going and why I had so many red lines LOL to actually being able to test myself and actually write out some code.
@SunnyApples7 жыл бұрын
Travis Chris, me too. I've been supplementing Derek's videos with some other ones I found on KZbin and had great results. Can't wait for all the game dev stuff that is to come in this series. Good luck with your C# studies.
@travislong28107 жыл бұрын
I can't wait too. I am also planning to start making games with Unity soon. Hey maybe we can collaborate in the future? :)
@SunnyApples7 жыл бұрын
Definitely! Game development, here I come!
@maryz66727 жыл бұрын
Derek, If you had an ubertooth one and had to make it able to sniff packets in monitor mode with packet injection where would you start???? What would it be scripted in if you had to choose? if you had to make it like airodump-ng but for bluetooth where would one start to make something for it?
@derekbanas7 жыл бұрын
I haven't done much on the security front since I was a sysadmin quite some time ago. I'll look into it because it looks fun :)
@maryz66727 жыл бұрын
well i'm looking very forward to your opinion...If you are seriously looking into it is there a way you can let me know some how? I have heard it's possible of bluetooth injection but i'm sure that would involve modifying the firmware...and all kinds of stuff. what does it take to take a device made for bluetooth hacks like that , that are just for sniffing in promiscous mode to be able to inject packets ? i hope you can help....you're an amazing coder derek
@sipiware7 жыл бұрын
good stuff, can you please do a tutorial on events and delegates, thank you.
@rostikdyakiv51827 жыл бұрын
Thank you very much for your lessons!!
@derekbanas7 жыл бұрын
I'm very happy that you like them :)
@rostikdyakiv51827 жыл бұрын
Looking forward to your new C# videos.It's amazing!!!!
@claudiodias31687 жыл бұрын
Hi very tanks for video, you helped a lot to know how this works.
@derekbanas7 жыл бұрын
I'm very happy that I could be of help :)
@maximmemskiy14027 жыл бұрын
Hello. Good lesson! But I wonder how to make the last example (groupJoin) with extension methods. I tried : var animJoin = owners .OrderBy(r => r.OwnerID) .Select(r => new { Owner = r.Name, Animal = owners .Join(animals, o => o.OwnerID, i => i.AnimalID, (o, i) => new { Name = i.Name, Height = i.Height }) }) ; But is doesn't work. I cannot create an IEnumerable Animals as in the video. How would u do this with extenstion method?
@stevefrt94956 жыл бұрын
Thanks you so much Derek
@derekbanas6 жыл бұрын
I'm happy you liked it :)
@illiahoncharenko14179 ай бұрын
Thank you!
@fredyuldashev5 жыл бұрын
5:11 wow wow wow take it easy there felllllah :D
@nv72876 жыл бұрын
great videos! (and voice!)- could you discuss how to use lambdas with it? fror example sorting 3 colmns that have difernt inormation in each col - to be sorted into 3 arrays.... var sumOfLines = File.ReadLines(myFile) .Select(x => x.Split(null)) .Select(z => new { ItemType1 = z[0], ItemType2 = z[1], ItemType3 = z[2] });
@Agersi4207 жыл бұрын
could you maybe make a tutorial on how to search multiple tables, where some are connected with many to many tables. And make sure to stream some more the witness :)
@derekbanas7 жыл бұрын
I'm happy you liked The Witness! I loved it! Yes I'll cover more complex ways of using LINQ soon
@Agersi4207 жыл бұрын
Any chance you could cover it with some php/sql too :)
@blu12gaming446 жыл бұрын
1:55 you missed 'Ein' from Cowboy Bebop (lol).
@derekbanas6 жыл бұрын
That's funny :)
@trinach936 жыл бұрын
Great tutorial!
@derekbanas6 жыл бұрын
Thank you :)
@kilogalaxia20357 жыл бұрын
very useful tutorial! Thank you for devoting your time! :)
@derekbanas7 жыл бұрын
Thank you :) I'm happy you liked it
@soapyfruit47317 жыл бұрын
LINQ rules :) amazing tutorial
@derekbanas7 жыл бұрын
Thank you very much :)
@RP-mp4ow5 жыл бұрын
LINQ Rules (Thank you for this video)
@derekbanas5 жыл бұрын
I'm happy I could help :) Thank you
@IamAWESOME39804 жыл бұрын
C# version of sql?
@nicklasisaksson68197 жыл бұрын
ArrayList dosen't work im using visual studio in mac what can u use instead?
@nicklasisaksson68197 жыл бұрын
i used this instead and it works List famAnimals = new List(); famAnimals.Add(new Animal(name: "Heidi", height: .8, weight: 18)); famAnimals.Add(new Animal(name: "Shrek", height: 4, weight: 130)); famAnimals.Add(new Animal(name: "Congo", height: 3.8, weight: 90));
@santhoshm37587 жыл бұрын
Linq or SQL Which is Best Performance ?
@derekbanas7 жыл бұрын
They are both completely different things. Sorry for not explaining that better. I'll cover databases soon
@MaidenLoaf5 жыл бұрын
I suggest giving this a read: docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/.
@henrik30982 жыл бұрын
bro why is ur visual studio that zoomed
@MegaCODDERS6 жыл бұрын
4 hours in class i didn t get it, see this video, it s actually not that hard atleast this part :p thx men!
@derekbanas6 жыл бұрын
I'm happy that it helped :)
@jasrobsny6 жыл бұрын
Anyone aware of how to test a set that has two or more adjacent and equal elements?
@fxnx387 жыл бұрын
Font size is perfect please do not change it
@paulhamacher7736 жыл бұрын
but a smaller font size would provide you a better overall view over the code
@vanttildet30693 жыл бұрын
cool stuff
@lolnoob38687 жыл бұрын
which ide is best of c programming graphic
@derekbanas7 жыл бұрын
I love Visual Studio
@marcinkuta51747 жыл бұрын
Thank you best of the best:)
@derekbanas7 жыл бұрын
Thank you :) I'm very happy you liked it
@ellena19037 жыл бұрын
LINQ Rules! :)
@derekbanas7 жыл бұрын
Thank you :)
@brandonmifsud67274 жыл бұрын
You are the best best best. :)
@derekbanas4 жыл бұрын
Thank you very much :) I'm happy I could help
@abdullahrafiq35305 жыл бұрын
"So pretty cool stuff"
@StephenWebb19805 жыл бұрын
I like your style. Sub'd
@derekbanas5 жыл бұрын
Thank you :)
@dev__adi7 жыл бұрын
Do React Js in one video please
@derekbanas7 жыл бұрын
I'm working on it
@RohanGakhare7 жыл бұрын
Do Angular 2 and TypeScript please
@derekbanas7 жыл бұрын
Here is TypeScript kzbin.info/www/bejne/Y4G1kIunjJ59gLc and I'm working on Angular
@RohanGakhare7 жыл бұрын
Excellent, you are the man..thanks much!!
@lemos515 жыл бұрын
LINQ Rules
@IQBooks-pub5 жыл бұрын
Class structure a bit confusing.... AnimalId doesn't uniquely identify the animal, as one might think.... Still, a good video.
@baguett1234 жыл бұрын
Andy Bernard?
@pakoti965 жыл бұрын
Did you just call Shrek an Animal :o
@akab2116 жыл бұрын
Big dog!
@patwicker13587 жыл бұрын
LINQ rules, at least someone sees these comments :-)
@derekbanas7 жыл бұрын
I agree it is awesome :)
@venkatrao1007 жыл бұрын
good video for me
@derekbanas7 жыл бұрын
I'm very happy that it helped :)
@jackbisson92265 жыл бұрын
I thought I was listening to Bill Belichick.
@saajid61497 жыл бұрын
How do you remember so much stuff??😅
@derekbanas7 жыл бұрын
I have been doing this stuff for a long time
@afrasiabhamid78607 жыл бұрын
salam please do on xamarin cross platform thanku
@derekbanas7 жыл бұрын
It is coming soon
@AlexTuduran5 жыл бұрын
RIP performance.
@xiangli13096 жыл бұрын
I really don't like the way you type the code.
@xiangli13096 жыл бұрын
But I have to give you a "like" because I really enjoy the content of this video.
@achin41407 жыл бұрын
i beg you please i am crying tell about Enterprise java beans , statefull Ejb ,Stateless EJB , Message driven bean , CMP thier lifecycle methods:(
@derekbanas7 жыл бұрын
I'll see what I can do about JEE after I finish with C#
@achin41407 жыл бұрын
Dear Sir please tell within 20 days please I am crying so much I am not able to understand enterprise Java beans