bool and enum

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cody

    bool and enum

    Why doesn't map the enum keyword properly to the .NET Enum class?

    with bool (System.Bool) i can do:

    bool.Equals(), bool.ReferenceE quals(), if (b is bool)..

    with enum this doesn't work although it should.

    enum.Equals()

    generates a compiler error, I have to use System.Enum instead.

    --
    cody

    Freeware Tools, Games and Humour

    [noncommercial and no fucking ads]


Working...