I've defined an enum as below
public enum Modes
{
Add,
Edit,
Update
}
& i am using it in my page with global scope i.e before page_load
Modes _currentMode;
by default currentMode gets initalized to "Add" & always to the first value in the enum.
Is this normal behaviour?
public enum Modes
{
Add,
Edit,
Update
}
& i am using it in my page with global scope i.e before page_load
Modes _currentMode;
by default currentMode gets initalized to "Add" & always to the first value in the enum.
Is this normal behaviour?