The c# class I'm using (in ASP.NET 2008) will not return values for the methods in the class. It just returns the internal array. What am I doing wrong?
The class (not finished, so it's a little rough right now):
/// <summary>
/// Summary description for PageHistory
/// </summary>
///
// This class keeps track of the page history. Hardcoded to 7 currently.
// Use:
// Pages are stacked oldest to newest (FIFO)
// Add - adds a new page at the bottom of the history list (newest page).
// Clear - clears the list.
// Count - # items in the list.
// PreviousPage - the last page added to the list
public class PageHistory
{
private int _maxCount = 7; // max # pages that will be stored (this could be a property as well)
protected List<string> _innerList = new List<string>(); //initialize l ...
Go to the complete details ...