public static void PrintOut(ITalkable p) { Console.WriteLine($"{p.Name} says = {p.Talk()}"); }
public static void Printout(ITalkable p) { Console.WriteLine($"{p.GetName()} says= {p.Talk()}"); outFile.FileWrite($"{p.GetName()} | {p.Talk()}"); }