B
Bob Altman
Hi all,
I have an Enum declared (in VB) as:
Private Enum State
First
Second
Third
End Enum
If I have an instance of this enum, how can I "increment" it? For example:
Dim currentState as State = State.First ' currentState is 0
currentState = <some expression yielding State.Second, i.e. 1>
TIA,
- Bob
I have an Enum declared (in VB) as:
Private Enum State
First
Second
Third
End Enum
If I have an instance of this enum, how can I "increment" it? For example:
Dim currentState as State = State.First ' currentState is 0
currentState = <some expression yielding State.Second, i.e. 1>
TIA,
- Bob