Пример #1
0
        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
        }
Пример #2
0
        public void PrintHelloWorldPlain()
        {
            string text = getTextClass.GetHelloWorldPlain();   // get the text from the concrete impl. of text getter

            Console.WriteLine(text);                           //print out to console
        }