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