C# bool as enum?

Posted by fearofawhackplanet on Stack Overflow See other posts from Stack Overflow or by fearofawhackplanet
Published on 2010-04-30T13:37:27Z Indexed on 2010/04/30 13:47 UTC
Read the original article Hit count: 159

Filed under:
|
|
|

the following is not legal, but is there any way to do something similar?

public enum DatastoreFunctionResult : bool
{
    Error,
    OK
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about enum