public GeneralPurposeStack(int size) { this.stackArr = new object[size]; this.currentPosition = -1; }