Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.1 KB

File metadata and controls

45 lines (31 loc) · 1.1 KB

Console Library System.

Step 3. Library Statistics

Task

Розширити клас LibraryStatisticsAnalyzer, додавши в нього методи GetBooksByAuthor, GetBookByTitle, GetBookByArticul.

Performance

  1. Create a new branch named "step3".

  2. Extend the LibraryStatisticsAnalyzer class by adding the GetBooksByAuthor(), GetBookByTitle(), GetBookByArticul() methods to it:

public List<Book> GetBooksByAuthor(string author)
{
    // TODO step 3.
    return [];
}
    
public Book GetBookByTitle(string title)
{
    // TODO step 3.
    return new Book();
}

public Book GetBookByArticul(string articul)
{
    // TODO step 3.
    return new Book();
}
  1. Assemble the project, fix bugs and warnings (if any).

  2. Save changes as a separate commit.

  3. Merge the "step3" branch with the "master" branch.

Materials

Materials for self-study: