I am trying to figure out the difference between these two enumerations
public enum EnumA
{
A = 1,
B = 2,
C = 3
}
vs
public enum EnumB : byte
{
A = 1,
B = 2,
C = 3
}
I know that the default base type enum is int, so if I change the base type to byte, how will it affect?
source
share