public class clsTabs { public clsTabs() { // // TODO: Add constructor logic here // } public enum TabControls { PersonalProfile=1, Address=2, NextOFKin=3, Dependents=4, Education=5, Experience=6, Reference=7, Documents=8, EmploymentCategory=9, } }
int i= ((enum)clsTabs.TabControls.Address;
int i = (int)clsTabs.TabControls.Address;
(int)
int
<br /> int i =Convert.ToInt32(clsTabs.TabControls.Address);<br />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)