static void Main(string[] args) { Title title = new Title(); title.someText = "Little prince"; Author author = new Author(); author.someText = "Antoine de Saint-Exupery"; Content content = new Content(); content.someText = "Charper_1....."; Book book = new Book(title, author, content); title.Show(); author.Show(); content.Show(); Console.ForegroundColor = ConsoleColor.White; }
public void Show() { title.Show(); name.Show(); content.Show(); }
public void Show() { author.Show(); title.Show(); content.Show(); }