I was looking for some enums options, and just spotted a missing comma after last option. Take, for instance, that DayOfWeek
enum (press F12
to go to definition):
public enum DayOfWeek
{
Sunday = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6, // note this comma
}
Are there any reason behind this behavior?