/// <summary> /// Initialize the class, build the list of the most recent books /// </summary> /// <param name="n">Number of books</param> public RecentBooks(int n) { localhost.Service1 s = new localhost.Service1(); this._list = s.RecentBooks(n).ToList<localhost.Book>(); }