In accordance with the C # standard (p612, C # programming language), the value specified for the listing must be a constant integer (or any similar type - long, byte, sbyte, short, etc.), so the range of values isn ' t valid.
My compiler (VS2008) agrees with the specification.
Since you cannot repeat the names in an enumeration, the closest you will get something like this:
public enum BookType
{
Novel = 1,
Journal = 2,
Reference = 3,
TextBook4 = 4,
TextBook5 = 5, ...
TextBook10 = 10
}
. , ...