Example program that creates a singly and doubly LinkedList. Inserts and removes elements and then reverses the list.
Download, and then compile and run in your favorite editor.
Creates a singly LinkedList then adds two elements to the front of the list.
Then adds an element to the end of the list and reverses the list order.
Creates a doubly LinkedList then adds two elements to the front of the list.
Then adds an element to the end of the list and reverses the list order.
- Ankit Sharma - *Original author *
- James Hiegel - Added comments and additional functionality to original program
https://www.c-sharpcorner.com/article/linked-list-implementation-in-c-sharp/