If short
is just the C# syntax for using the Int16
struct,
and you can interchange each like this:
Int16 x = 10;
//or
short x = 10;
then why can you do this:
public enum DaysOfWeek : short
{
}
but not this:
public enum DaysOfWeek : Int16
{
}
The error is Type byte, sbyte, short, ushort, int, uint, long or ulong expected.