public void RemoveLastEntry() { Count--; ReferenceName.RemoveAt(Count); ReferencePosition.RemoveAt(Count); ChrIndexer.Remove(NumIndexer[Count]); NumIndexer.Remove(Count); Ad.RemoveAt(Count); Dp.RemoveAt(Count); if (Categories != null) { Categories.RemoveAt(Count); QScores.RemoveAt(Count); Gp.RemoveAt(Count); } }