Tech Off Post

Single Post Permalink

View Thread: Features you like added to vb.net, c# or any other .net language.
  • User profile image
    vesuvius

    W3bbo said:
    vesuvius said:
    *snip*

    I use default: for dealing with unexpected enum values.

     

    I'd like to see the introduction of String Enums and possibly Java-style enumerations, except without the boneheadness.

    I add that as an enumeration, i.e.

     

     

    enum Fruits{

    Unknown = 0,

    Apples,

    Oranges,

    Lemons,

    Bananas

    };