My laptop is always set up like that with everything as large black text on white so people can easily see output from the back of the room.

It's pretty easy to do... when you're in a console window, click the Title Bar icon in the upper-left and choose
Properties, and then go to the Colors tab. From there you can mess with the foreground and background colors.

The other trick I use when showing people console output is to hit Ctrl-F5 instead of F5 to run without debugging. This automatically ends the program with the "Press any key to continue . . ." without having to put Console.ReadLine() in at the end

Another easy way to get black-on-white: the COLOR command. COLOR F0 will get you black on white. COLOR /? for more details.

Coincidentally, this video had an excellent demonstration of how IntelliSense can screw you up when you try to enter lambda expressions in C#. When Alex tried to enter c => c.City == "London", IntelliSense "helpfully" suggested case even though it makes no
sense to enter the case keyword at that point (he wasn't even in a switch statement). I'm learning to hit Esc to cancel the IntelliSense, but I would prefer not having to do so. Please fix this.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.