Redeclared Stack count as private
This commit is contained in:
		| @@ -5,7 +5,7 @@ namespace C_.Datastructures | |||||||
|     internal class Stack<T> |     internal class Stack<T> | ||||||
|     { |     { | ||||||
|         public StackNode<T>? Head { get; set; } |         public StackNode<T>? Head { get; set; } | ||||||
|         public int Count { get; set; } |         private int Count { get; set; } | ||||||
|  |  | ||||||
|         public Stack<T> Create(){ |         public Stack<T> Create(){ | ||||||
|             //Create a new stack without a head |             //Create a new stack without a head | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user