示例#1
0
        static void Main(string[] args)
        {
            string Info = "Samsonov Dmitry 1999 Saint-Petersburg";
            var    Pr   = new FunctionsForStudy();

            //HW_a(Info);
            //HW_b(Info);
            //HW_c(Info);
            Pr.Print(Info, (Console.WindowWidth - Info.Length) / 2, Console.WindowHeight / 2);
            Pr.Pause();
        }
示例#2
0
        static void HW_c(string Info)
        {
            var Pr = new FunctionsForStudy();

            Pr.PrintCenter(Info);
        }