This value is expressed (myEnum)0. For instance:
enum myEnum
{
foo = 100
bar = 0,
quux = 1
}
Then it default(myEnum)will be myEnum.bareither the first member of the enumeration with the value 0, if there is more than one element with the value 0.
Value 0if the enumeration member is not assigned (explicitly or implicitly) the value 0.
source
share