Changing Structure
This commit is contained in:
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Books.ConsoleApp
|
||||
namespace Books.Console
|
||||
{
|
||||
class Program
|
||||
{
|
||||
@ -82,12 +82,12 @@ namespace Books.ConsoleApp
|
||||
{
|
||||
foreach (var ba in BooksByAuthorCatalogue)
|
||||
{
|
||||
Console.Write("Author: {0, -28} Books: ", ba.Author);
|
||||
System.Console.Write("Author: {0, -28} Books: ", ba.Author);
|
||||
foreach (var book in ba.Books)
|
||||
{
|
||||
Console.Write(book.title + ", ");
|
||||
System.Console.Write(book.title + ", ");
|
||||
}
|
||||
Console.Write(Environment.NewLine);
|
||||
System.Console.Write(Environment.NewLine);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user