C# Tutorial 11 Collections

[ad_1]
Get the Code Here :
Best C# Book :
Support me on Patreon :

In this part of my C# tutorial we’ll explore many collections available with C#. We’ll look at ArrayLists, Dictionaries, Queues, and Stacks. We’ll test out most every function available with them.

For best results take notes on the cheat sheet provided above as you watch and leave any questions you have.

Thank you to Patreon supporters like the following for helping me make this video

facebook.com/cottageindustriesbuild/
jaryd remillard : instagram: @distant_admiration
bugreplay.com
@kyleaisho
@thetwistedhat
vjFaLk
jaryd remillard :


Posted

in

by

Tags:

Comments

40 responses to “C# Tutorial 11 Collections”

  1. Mark Lee Avatar

    Great tutorial, i think the analogy for naming the stack functions is the gun magazine" .push and .pop " so american, in contrast with queue naming 😉

  2. Jos O Avatar

    Honestly Derek… How do you do this? How do you know so much? I've been developing for years and I've never seen somebody explaining so much without hesitation!

    Your videos are amazing! I use them as a quick reviews instead of reading books with irrelevant text.

    Thank you!

  3. T Riddle Avatar

    Americans don't normally say queue, they say 'line'. I wonder what Microsoft were thinking when they came up with this non-American word. I over-analyse.

  4. XinHun Avatar

    Watching this playlist now, working the code out for myself and trying to understand it with every video. As someone who is just getting started with programming it's tough, but I feel I am learning something new with every video. I'm eager to get into your game creation series after this!

  5. Maaz Shaikh Avatar

    why would i use queue instead of ArrayList?
    why use queue at all?
    don't Array work the same as queue?

  6. Okan  ciftci Avatar

    Hello Internet!!!
    This guy is pretty cool btw

  7. Ross Zhu Avatar

    Great Video, Derek! I am new to C#. I don't know why but I can't find ArrayList type. It doesn't seem to exist in my System.Collections.

  8. AJ Avatar

    Thanks for all the C# tutorials! Im learning this language for the job and this is excellent content. Looking forward to going through the rest of the playlist!

  9. Raphael Bernard Avatar

    See Guy33's solution below Declaring the variable on the line before
    string test;
    superheroes.TryGetValue("Clark Kent", out test);

    Also possible both 2013 and 2015 VS may require upgrades for your typescripts? see problem with TryGetValue()
    https://www.google.co.nz/search?client=opera&q=problem+with+TryGetValue()&sourceid=opera&ie=UTF-8&oe=UTF-8

  10. zesnob Avatar

    Superman 🙂

  11. element74 Avatar

    Derek how far do I need to go in this tut series to start experimenting with app development. I plan to use xamarin like you mentioned to me in an earlier reply 🙂

  12. Z. Zauxst Avatar

    If I click on the adds will you get more revenue?

  13. O Sp Avatar

    You could type cw and then 2 times TAB to generate Console.WriteLine ! A tiny info here 😛

  14. Dragomir Dobrev Avatar

    Hi Derek, i don't unterstand why when I try to use the method TryGetValue for the superheroes Dictionary the compiler shows me an error "Invalid expression term 'string'" and in superheroes.TryGetValue("Clark Kent", out string test); the keyword string and and the variable test are underlined in red. I don't get it, it should work. Please let me know what I'm doing wrong.

  15. Michał Szopa Avatar

    Hey Derek! At first I would like to thank you for things you do! Great job man! I have a question for you as well, I would like to make a project in c# in which i could use things u were talking about in your tutorial vids. Do you have any ideas/recomendations of project ?

  16. mikendrea1 Avatar

    Hi Derek, (superman!)
    I'm using VS prev 3 for mac, I'm getting a compile error on the line
    superheroes.TryGetValue("Clark Kent", out string test); : Error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification (CS1644)

    Is there another way to accomplish the same thing?

  17. Public Static Void Avatar

    Derek, what's up with the adds, somewhat uncharacteristic for your channel??

  18. Disciplined Coding Avatar

    Derek, I'm a student and am learning 2 languages, C# & Java, people tell me I can't possibly learn both & I need to choose 1 and stick with it, and am wondering if this is foolish in your opinion? I find the transitions very easy. "Superman"!!!

  19. Andy_Hunter Avatar

    Will you ever do Marketing /Sales tutorials like you did before?

  20. DARK ZERO 370 Avatar

    Can you do tutorials of mySQL ,please?

  21. Afrasiab Hamid Avatar

    salam please show us how to make a mangement system using oop concepts in c# and also tell something about DS and Algorithms in c#

  22. PushMyCarr Avatar

    Thank you very much for the video! Can't wait for the next one! 😀

  23. Ilya Zhidkov Avatar

    You should put Ethan in superheroes dictionary 😀

  24. Ben Avatar

    I really enjoy your Java and C# video series. I have learned so much more from you than any of my computer teachers have ever taught. You're awesome!

  25. marh122 Avatar

    Hi Derek, will you cover also VIsual C# ? E.g. some kind of a small program which will manipulate data from remote mysql server ? 🙂

  26. edilsonrj Avatar

    Great as Always…. Could you do some Docker in one video or a tutorial series about Docker too? It would be very usefull.

  27. MouhamedSaid RAOUDH Avatar

    hi Derek, why you use windows when you program in c# , can i use osx and how ? thankyou =D

  28. Kevin Merenger Avatar

    Derek which is your "main language" for your job I mean and what do you think of C# and the .Net ecosystem vs all the open source technology in Javascript like react,webpack,node etc etc which do you think is better the microsoft way or open source ? pro's cons ?

  29. Josh Dittmer Avatar

    I really appreciate YouTubers like you who care about their viewers and respond to their comments! Keep up the good work 🙂

  30. Adam Dusty Avatar

    Is there any time it's better to us an ArrayList instead of a List<>?

  31. Masoud Rousta Avatar

    I'm loving it ❤
    Thank Derek

Leave a Reply

Your email address will not be published. Required fields are marked *