diff --git a/C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs b/C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs index 3db8088..77e6d95 100644 --- a/C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs +++ b/C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs @@ -150,6 +150,10 @@ } } + public int GetCount() + {//Return the number of items in the list + return Count; + } private DoublyLinkedListNode? Traverse() {