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