public object Pop() { if(FList.Count == 0) throw new InvalidOperationException("The heap is empty."); object Object = FList[Count-1]; FList.RemoveAt(Count-1); return(Object); }