public void PrintHelloWorldPlain() { string text = getTextClass.GetHelloWorldPlain(); // get the text from the concrete impl. of text getter WriteToDB(text); //write the text out to the db }
public void PrintHelloWorldPlain() { string text = getTextClass.GetHelloWorldPlain(); // get the text from the concrete impl. of text getter Console.WriteLine(text); //print out to console }