Added GetCount Method to Linked List
This commit is contained in:
		@@ -122,6 +122,11 @@ namespace C_.Datastructures.LinkedList
 | 
			
		||||
            node!.Next = node.Next!.Next;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public int GetCount()
 | 
			
		||||
        {//Return the number of items in the list
 | 
			
		||||
            return Count;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private LinkedListNode<T>? Traverse()
 | 
			
		||||
        {
 | 
			
		||||
            //Start at Head of list
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user