Click here to Skip to main content
15,742,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can some one help me in developing an generic linked list class without using System.Collections libraries in C# .

Code snippet would be great.


A linked list is a collection of controls which maintain a reference or pointer to the next and previous items in the list. A circular linked list is the same with the exception that the first item in the list contains a reference to the last and vice versa.
In order to create a linked list without using the Collection libraries you just need to create a class that contains an array of your objects. Each object should hold a reference to the next and previous items in the list. Your parent class that contains the array needs to manage these references via methods like Add, Remove, Insert, etc...
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900