Esempio n. 1
0
 static void PrintWriter(IWritable work)
 {
     Console.WriteLine();
     Console.WriteLine($"Name of Work: {work.GetNameOfWork()}");
     Console.WriteLine($"Written By: {work.GetWriter()}");
     Console.WriteLine();
 }
Esempio n. 2
0
 private static void PrintWriter(IWritable displayObject)
 {
     Console.WriteLine($"Name of work: {displayObject.GetNameOfWork()}");
     Console.WriteLine($"Written by: {displayObject.GetWriter()}");
     Console.WriteLine();
 }
Esempio n. 3
0
 static void PrintWriter(IWritable creativeWork)
 {
     Console.WriteLine($"Name of work: {creativeWork.GetNameOfWork()}");
     Console.WriteLine($"Written by: {creativeWork.GetWriter()}");
     Console.WriteLine();
 }