• Top Posts

    how to change console window height and width c#

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading;
    using System.Threading.Tasks;

    namespace ConsoleApplication5
    {
        class Program
        {
            static void Main()
            {
           
                Console.WindowWidth = 70;
                Console.WindowHeight = 20;
                Console.WriteLine("Hi........mahesh.. ");
            }
        }
    }

    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728