public object Remove(int pos)
{
if (pos > 0 && pos < count)
{
object o = list[pos].obj;
list[pos].obj = null;
list[pos].index = head.index;
head.index = pos;
return o;
}
return null;
}
public void RemoveObject(int udata) { object o = objects.Remove(udata); if (o != null && !TypeChecker.IsValueType(o.GetType())) { objectsBackMap.Remove(o); } }