Esempio n. 1
0
        static void Main(string[] args)
        {
            try
            {
                //Implement start position, width and height, symbol, message input

                //Create Box class instance

                //Use  Box.Draw() method

                Console.WriteLine("Type a message");


                Box box = new Box()
                {
                    Message = Console.ReadLine()
                };
                box.FillTestData();
                box.Draw();

                Console.WriteLine("Press any enter key...");
                Console.ReadLine();
            }
            catch (Exception e)
            {
                Console.WriteLine($"Error! {e.Message}");
                Console.ReadKey();
            }
        }