what is enumeration in c# code example
Example 1: enum in c#
enum Itemtype
{
Use,
Loot,
Equip,
ETC
};
Example 2: C# enum
enum CellphoneBrand {
Samsung,
Apple,
LG,
Nokia,
Huawei,
Motorola
}
enum Itemtype
{
Use,
Loot,
Equip,
ETC
};
enum CellphoneBrand {
Samsung,
Apple,
LG,
Nokia,
Huawei,
Motorola
}