C9 Bytes: Alex Turner showing the evolution of C#

Play C9 Bytes: Alex Turner showing the evolution of C#

The Discussion

  • User profile image
    If you enjoyed this video, watch Daniel as well. He has an excellent reverse engineered .NET example.
  • User profile image
    Neat stuff, how did you get your console window to have a white background ? I would love to do the same. Please tell Smiley
  • User profile image
    Alex Turner
    Hey gogole,

    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 Smiley
  • User profile image
    cool, thanks for that one .White background +  black consolas font is a knockout Smiley
  • User profile image
    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.

Add Your 2 Cents