Is it preferable to explicitly set enum's fields instead of just defining their names? E.g. any pros and cons for Enum1 vs Enum2?
Enum1:
enum SomeEnum
{
Something1 = 0,
Something2 = 1
}
Enum2:
enum SomeEnum
{
Something1,
Something2
}
P.S. This question doesn't relates to enums that would be stored in database, which is requires to set values explicitly.
Edit: Say all values are 0, 1, etc... They are not negative or something.