Create an Author class and populate that for each author. So it has an Id, Firstname, Lastname.
Hold an array of authors.
Actually, how are you getting the authors? I'm assuming there (based on your example) it's a hardcoded array, but if it's actually from a file then I'd suggest filling a List<Author> while reading the rows.Code:Author[] authors = {new Author(1, "firstname", "lastname"), new Author(1, "firstname", "lastname")};
