C# Console LargestWindowWidth

Description

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

Syntax

Console.LargestWindowWidth has the following syntax.


public static int LargestWindowWidth { get; }

Example


/*from   w ww . ja v  a 2 s .  c  o m*/
using System;
public class MainClass{
  public static void Main(String[] argv){  
    System.Console.WriteLine(Console.LargestWindowWidth);
  }
}
    




















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version