C# LinkedList Tutorial How to Use A Linked List

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 75

  • @systemloc
    @systemloc Місяць тому

    To anyone new, C# has built in LinkedList in System.Collections.Generic. You don't have to write your own like this.

  • @davidmcrae5434
    @davidmcrae5434 3 роки тому +8

    I already know all of this was watching just as a reminder but don't stop making videos deffo one of the best explanations I've seen, helps that your voice doesn't put me to sleep either haha.

  • @phillyphill5228
    @phillyphill5228 2 роки тому +8

    Thanks for this tutorial. I'm working on an assignment on LinkedLists and sadly our instructor barely discussed them! You helped me out a ton, thank you again!

  • @tiaanadlem
    @tiaanadlem Рік тому +2

    Thanks so much for the great explanation. Linked lists was doing my head in.

  • @atheeralattar8893
    @atheeralattar8893 Рік тому +1

    You deserve to be known, great job!

  • @kathyclemons939
    @kathyclemons939 2 роки тому +6

    you were more helpful than my college professor and you're free! subbed and liked hope that helps :)

  • @edithedith1974
    @edithedith1974 2 роки тому +1

    The simplest explanation ever, thank you.

  • @jopaslona1
    @jopaslona1 2 роки тому

    Using linked lists in C# is so much better than in C. Don`t have to bother with all of this pointers and dynamic memory allocation madness. Thank you very much!

  • @eyobaleameha7345
    @eyobaleameha7345 8 місяців тому

    finally after going through so many videos I was able to piece everything together or atleast this much thank you!

  • @formerfatboy90
    @formerfatboy90 2 роки тому +2

    Hey, thanks so much for this. I've done a couple of learning sessions for linked lists at my developer job. You really helped me understand the process better.

  • @wholesomedegenerate869
    @wholesomedegenerate869 2 роки тому +3

    I understood in 17 minutes what my professor had been jabbering on for about an hour haha
    Thank you for the video!!

  • @peculiarpeculiar2504
    @peculiarpeculiar2504 2 роки тому

    I just finished the video and it was wonderful to be honest.

  • @ronjohnson123
    @ronjohnson123 11 місяців тому +1

    great video, 100% one of the best explanations ive seen

  • @bluestripes6037
    @bluestripes6037 Рік тому +1

    Thank you, you're a very good explainer.

  • @zakerdoodle
    @zakerdoodle 2 роки тому +1

    Brilliant! Extremely helpful, thank you!!

  • @athariealfuraih8115
    @athariealfuraih8115 3 роки тому +2

    Thank you so much !!! highly recommend this video ( very simple explanation )

  • @johnbrown-zm3xl
    @johnbrown-zm3xl 11 місяців тому +1

    good tutorial, cleared a lot of things up

  • @jeandyenriquerodriguezdiaz3984
    @jeandyenriquerodriguezdiaz3984 5 місяців тому

    Thanks for the video, it is very helpful.

  • @wahwah12wahwah12
    @wahwah12wahwah12 11 місяців тому +1

    great explanation!

  • @heartagram_andreea
    @heartagram_andreea 4 роки тому +1

    clear and concise explanation! thank you!

  • @lazarnikolovski7571
    @lazarnikolovski7571 3 роки тому +1

    Thank you so much!! Such a great explanation!

  • @prachiksh
    @prachiksh 4 роки тому +1

    Very well explain from scratch
    Got the concept
    Visual explanation was brilliant
    Thankyou

    • @journeytoprogramming5289
      @journeytoprogramming5289  4 роки тому

      Glad to hear it. If you have any other questions about data structures then we'd be happy to try and help explain those too.

  • @amikawi
    @amikawi 3 роки тому +1

    Really helpful video. Thanks!

  • @michaelgraf49
    @michaelgraf49 3 роки тому

    Thanks dude needed this for a programming test (:

  • @catherineb1940
    @catherineb1940 4 роки тому +3

    Thank you! 🙌 you explained this so well! 👌

  • @andrewmccoy3773
    @andrewmccoy3773 3 роки тому +1

    this video is perfect thanks

  • @omersultan6419
    @omersultan6419 3 роки тому +2

    This is such a great video! Thanks for the concise explanation and great examples

  • @lukasgraw5129
    @lukasgraw5129 2 роки тому

    Great video

  • @vizijayt
    @vizijayt 4 роки тому +2

    The simplest explanation ever, thank you. Can you tell for what kind of the tasks linked lists are good for?

    • @journeytoprogramming5289
      @journeytoprogramming5289  4 роки тому +4

      Hey, I'd say that the utility of linkedlists in day to day development is really dependent on what sort of work you're doing. If you need to maintain history, sequences, and want to use a Linkedlist, then I don't think anyone would mind. It's node based mechanics and dynamic size make it relatively simple to use. A common example is maintaining a history in software that you may use to edit photos. You may want the ability to step backwards/forwards through your previous actions, and this can be maintained fairly well with a Linkedlist.

    • @vizijayt
      @vizijayt 4 роки тому +1

      Journey To Programming thank you for the answer!

  • @ravindharnalagati4274
    @ravindharnalagati4274 5 років тому +1

    thanku soo much for this in order to reterive from file like string type n how to store in linked list

    • @journeytoprogramming5289
      @journeytoprogramming5289  4 роки тому

      I'm glad that the video was helpful to you. Did you end up getting your project done?

  • @deaconuadrian6554
    @deaconuadrian6554 3 роки тому

    Thank you for the video

  • @thesupereman22
    @thesupereman22 4 роки тому +2

    Keep making content! It good

  • @be_it_a_15_chinmay_dali74
    @be_it_a_15_chinmay_dali74 4 роки тому +2

    Very well explained mate!
    I have a question it maybe a stupid one but the thing is I written these programs in C++ where we can use pointers and you explained it the same way which was great btw but the thing I am struggling right now is that "how does C# interprets these references without since C# doesn't support pointers"

    • @tharwania
      @tharwania 3 роки тому

      everything class object in c# is pointer

  • @usmankiyani5209
    @usmankiyani5209 5 років тому +1

    Thank you so much!

  • @altair91100
    @altair91100 2 роки тому +1

    When I want to add methods like adding a node to the end or just in the middle, how do I make other nodes reference to the nodes I am creating right now?
    Should they have an index or something?

    • @journeytoprogramming5289
      @journeytoprogramming5289  2 роки тому

      Hey Altair, not sure if you figured this out already, but the node class should have a reference to the prev or next node.

  • @rahuljadhav4987
    @rahuljadhav4987 3 роки тому

    Thanks a lot :)

  • @omarbanisalman2326
    @omarbanisalman2326 3 роки тому +1

    At 7:53 of the Video a wild lion enters the room...

    • @journeytoprogramming5289
      @journeytoprogramming5289  3 роки тому

      Haha. It's half a year after you posted this comment and I still get a chuckle out of it. That's our ferocious lion of a cat named Spock.

    • @danielruizleyva3825
      @danielruizleyva3825 2 роки тому +1

      Literally a lion. Expecting to see a Kitty while rewatching

  • @graazgautam
    @graazgautam 4 роки тому +1

    Hey, well explained. How could i make it read in text file and output text file?

    • @journeytoprogramming5289
      @journeytoprogramming5289  4 роки тому +1

      Are you looking to read in data from a text file and store it in a linkedlist and then spit it back out into a text file when done? Or do you just need to read/write to a text file in general?

  • @dominickdavis1580
    @dominickdavis1580 4 роки тому +1

    Hello, great video! I have a question though. How exactly would I pass a node as a method parameter?

    • @journeytoprogramming5289
      @journeytoprogramming5289  4 роки тому +2

      Hey, glad the video helped. Normally you'd pass a root (or tail) node of the tree or subtree. Depending on your language, you can make your node class the parameter.

  • @jesuskristus18
    @jesuskristus18 4 роки тому +1

    You deserve more views. Thanks for the great tutorial! Is it possible to email your for help?

    • @journeytoprogramming5289
      @journeytoprogramming5289  4 роки тому

      Hey Alexander, thanks for the comment. Sure thing, feel free to reach out at contact@journeytoprogramming.com

  • @cydthekid3809
    @cydthekid3809 3 роки тому +1

    thanks

  • @expertreviews1112
    @expertreviews1112 2 роки тому +1

    You shoulda dropped a github link with this code... been much easier for us instead of rewinding the video 20x times back and forth

  • @DataQuestLive
    @DataQuestLive 3 роки тому +1

    So i did exactly what you did and Nothing was printed....

    • @ishansinha9214
      @ishansinha9214 3 роки тому +1

      write Console.ReadKey(); in the list line of Main function

  • @kexetmine
    @kexetmine 2 роки тому +1

    👍

  • @tylerrogan4306
    @tylerrogan4306 3 роки тому

    You went over everything in sufficient detail. Yet, I am not able to follow along and understand what each piece is doing. When you go off into detail about situations for example where you need to keep track of the count of nodes, etc. it is very confusing for a beginner trying to grasp this concept. Just some attempted constructive feedback. I will need to approach learning this from a different angle.

    • @journeytoprogramming5289
      @journeytoprogramming5289  3 роки тому

      Thanks for the feedback Tyler. It's very much appreciated. I hope you were able to clear up things around linked lists. Send me a pm if you have specific questions. Happy to help elaborate on areas I was vague.

  • @eyobaleameha7345
    @eyobaleameha7345 8 місяців тому

    woohoooo

  • @greg5326
    @greg5326 3 роки тому

    Please separate the concepts part from the code part. I personally think explaining what a linked list is becomes just a waste of time at the point you are clicking on "how to implement a linked list in C#"

    • @journeytoprogramming5289
      @journeytoprogramming5289  3 роки тому

      Hey Greg, that's actually great feedback and I very much appreciate it. Thanks for sharing, and I'll take note in future videos as I completely agree

    • @greg5326
      @greg5326 3 роки тому +1

      @@journeytoprogramming5289 Yea, no sweat. And thanks for mentioning the established class for linked lists as well. I meant to give the praise with the criticism, so pardon the delay.