public void Solve(List <string> values) { MyExecutionPosition myExecutionPosition = new MyExecutionPosition(values); while (!myExecutionPosition.HasEnded) { char c = values[myExecutionPosition.Y][myExecutionPosition.X]; IInterpreter interpreter = InterpreterFactory.Create(c, myExecutionPosition); if (c == '_') { string a = ""; } interpreter.Interprete(this.MyStacks); myExecutionPosition.Next(); } Console.Write(myExecutionPosition.Output); }