Console.LargestWindowWidth Property


Gets the largest possible number of console window columns, based on the current font and screen resolution.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public static int LargestWindowWidth { get; }

Property Value

Type: System.Int32

The width of the largest possible console window measured in columns.

.NET Framework
Available since 2.0
Return to top