static void Main(string[] args) { Console.WriteLine("Please, enter your expression"); string line = Console.ReadLine(); StackArray stack = new StackArray(); //Stack stack = new Stack(); Console.WriteLine("Result of calculating: {0}", Calculator(stack, line)); }
public void Initial() { stackR = new StackArray(); stackRef = new Stack(); }