Given the normal Console in C#, the task is to change the WindowLeft of the Console.
Approach: This can be done using the
WindowLeft property in the
Console class of the System package in C#. The
WindowLeft Gets or sets the leftmost position of the console window area relative to the screen buffer.
Program 1: Getting the value of WindowLeft
Output:
👁 Image
Program 2: Setting the value of WindowLeft