Exemplo n.º 1
0
 public void PrintText(ITextToPrint textToPrint)
 {
     File.WriteAllText("Recipe.txt", textToPrint.GetTextToPrint());
 }
 public void PrintText(ITextToPrint textToPrint)
 {
     Console.WriteLine(textToPrint.GetTextToPrint());
 }