Redeclared Stack count as private
This commit is contained in:
parent
7a3c15d602
commit
ba2f01f836
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user