C# Console NumberLock
Description
Console NumberLock
gets a value indicating whether the
NUM LOCK keyboard toggle is turned on or turned off.
Syntax
Console.NumberLock
has the following syntax.
public static bool NumberLock { get; }
Example
/*from w w w . ja va 2 s .c o m*/
using System;
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(Console.NumberLock);
}
}