internal Object this[int index] {
get {
if (index >= 0 && index < this.used) {
Object result = this.stack[index];
return result;
}
else {
throw new IndexOutOfRangeException();
}
}
set {
if (index >= 0 && index < this.used) {
this.stack[index] = value;
}
else {
throw new IndexOutOfRangeException();
}
}
}