Added GetCount Method to Doubly Linked List
This commit is contained in:
parent
2a9cf2ff4d
commit
a03771cce5
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user