linkedlist
Using LinkedLists in a .NET console application Part 3 – Find and update
Let’s locate a node and add elements prior to the node. First find the node with the string fox. Next we add quick and brown before. Awesome! Now iterate over the LinkedList again and check the result. Perfect! Now go out and make some LinkedLists, it’s free!
Using LinkedLists in a .NET console application Part 2 – Add and remove nodes
Now it’s time to add a new word to the beginning of the list. If you iterate over the list again you will see that today is added as the first element in the linked list. Now let’s create a LinkedListnode containing the node we just created, remove it from the beginning and add it […]
Using LinkedLists in a .NET console application
Create the LinkedList Add and remove nodes Find and update
Using LinkedLists in a .NET console application Part 1 – Create the LinkedList
Let’s create and use a LinkedList which you can learn from here. First create the LinkedList from a string array. Now iterate over the linkedlist to see the elements Great! Now in the next post we’ll add and remove some nodes.
You must be logged in to post a comment.