Console.LargestWindowHeight Property


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

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

public static int LargestWindowHeight { get; }

Property Value

Type: System.Int32

The height of the largest possible console window measured in rows.

.NET Framework
Available since 2.0
Return to top