Lecture overview -- Keyboard shortcut: 'u'  Previous page: Overview of the class <b><kbd>LinkedList<T></kbd></b> -- Keyboard shortcut: 'p'  Next page: Sample use of class <b><kbd>LinkedList<T></kbd></b> -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 18 : 36
Object-oriented Programming in C#
Collection Classes
The class LinkedListNode<T>

The class LinkedListNode<T> is sealed, generic class that represents a non-mutable node in a linked list

A LinkedListNode can at most belong to a single linked list

  • Members of LinkedListNode<T>

    • A single constructor LinkedListNode(T)

    • Four properties

      • Next     - getter

      • Previous     - getter

      • List     - getter

      • Value     - getter and setter

LinkedListNode<T> is closely associated with LinkedList<T>

There is no public interface for initialization of the properties