c# console challenge. setting the console window size and title use all programming practices,...

Post on 04-Jan-2016

213 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

C# CONSOLE CHALLENGE

2

Setting the Console Window Size and Title

• Use all programming practices, include proper casing and comments in your code.

• Using Console.SetWindowSize change to console size:• Several different sizes• to a constantly changing size

Using Console.Title change the title of the console• To your name• To change the length of title

• bonus make the length constantly change.

3

Fun with Beeping

• Change the frequency of console.beep with the keyboard.• Use keystrokes – Console.Readkey to alter the beep

• For example: UpArrow and DownArrow

• Define a keystroke to end the program• Use static methods for increasing and decreasing

duration and frequency• Use a switch statement in do\while to monitor the

ConsoleKey.

top related