LinkedList From Scratch PART 2 - C# C Sharp Visual Studio 2010

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,773
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 12, 2010

In this tutorial I show you how to create your own linked list similar to the List in C# from scratch. You can learn a lot from creating your own versions of common data structures.

This is PART 2

WEBSITE:

http://www.Quack-Ware.com

FORUMS

http://www.Quack-Ware.com/forums/

FREE CODE SNIPPETS

http://www.freecodesnippets.com

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (QuackWare)

  • Kinda off-topic but, are you a partner? Cause this video is 24 minutes long

  • @daoping Yeah I was recently accepted into the partner program, all thanks to my viewers and subscribers!

Video Responses

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • To simplify many functions: Node getNode(int idx); // code first and private int _length; // maintain throughout --- interface object LinkedList.remove(int idx); //should throw an exception instead of returning null -- or -- the sig should be bool remove(int idx, out object o); which does nada to o when out of bounds -- bool replace(int idx, object oNew, out oOld); and you also forgot the major function: LinkedList append(LinkedList l); // return this
  • thank you very much for this video

    I really love it.

    this teaches me a lot.

    and congcrat for being a partner. This is much better when you can upload 20 minute video.

    to remind you this is how to write getter and setter: public int Id { get; set;}

  • thank you very much for this video

    I really love it.

    this teaches me a lot.

    and congcrat for being a partner. This is much better when you can upload 20 minute video.

  • I noticed that the getEntry function in the LinkedList class will always return the first node since you just call the getNextNode function and not assign it's return value to currentNode.

    But other than that I was surprised that it was this easy.

    Thanks.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more