Example #1
0
        static void Main(string[] args)
        {
            강화된프린터 프린터 = new 프린터();

            Console.WriteLine(프린터.p태그로감싸기());
            프린터 원래프린터 = new 프린터();

            Console.WriteLine(원래프린터.내용출력());
            Console.ReadLine();
        }
Example #2
0
        public string p태그로감싸기()
        {
            string contents = "<p>" + 프린터.내용출력() + "</p>";

            return(contents);
        }