Clear        


                
                    namespace Users.APP.Domain
{
    // Enums are used for predefined values and help not to remember or
    // check each element's value when being used.
    // Getting the value of an enum element:
    // int womanValue = (int)Genders.Woman;
    // Getting the text of an enum element:
    // string manText = Genders.Man.ToString();
    public enum Genders
    {
        Woman, // if no assignment, will start from 0
        Man // will automatically get the next value 1 and other elements
            // will continue to get the next values after 1
    }
}