Added GetCount Method to Doubly Linked List

This commit is contained in:
Luke Else 2022-04-17 23:20:01 +01:00
parent 2a9cf2ff4d
commit a03771cce5

View File

@ -150,6 +150,10 @@
} }
} }
public int GetCount()
{//Return the number of items in the list
return Count;
}
private DoublyLinkedListNode<T>? Traverse() private DoublyLinkedListNode<T>? Traverse()
{ {