mathieu_cupryk
asked on
create enum class for the following:
How would I create an enum class for the following:
public enum modeEnum
{
mode0 = 0,
mode1 = 1,
mode2 = 2,
mode3 = 3
}
public enum modeProcessSpreadSheet
{
Valid = 0, // Valid then insert into PriceListDetail
Warnings = 1, // Warning insert Price List Load Error
Errors = 2, // Errors insert into Price List Load and PriceListDetail.
}
public enum modeEnum
{
mode0 = 0,
mode1 = 1,
mode2 = 2,
mode3 = 3
}
public enum modeProcessSpreadSheet
{
Valid = 0, // Valid then insert into PriceListDetail
Warnings = 1, // Warning insert Price List Load Error
Errors = 2, // Errors insert into Price List Load and PriceListDetail.
}
You already have enums. What more do you want to do?
ASKER
Just create a class called enum?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.