Peter Hallam's WebLog

C# Compiler

August, 2005

  • Peter Hallam's WebLog

    Many C# Questions: Switching on non-constant values.

    I finally decided to play with the style settings on my blog. As you may have guessed, I'm a bit of a newbie when it comes to websites and blogging. Let me know what you think of the new look. Last weeks posting generated some great comments. Tzagotta...
  • Peter Hallam's WebLog

    Many Questions: Switch On Enum

    Just a quick one this week: Why is it that you cannot use enum constants in a switch statement's cases without first casting them to type int? Often you will want to use Enum constants as case labels in switch statements. Sometimes, the compiler...
Page 1 of 1 (2 items)