G
Guest
Would be nice to specify an incremenet or decremenet as an attribute in an
enum so I can for example have the following...
[Increment(2)]
enum SomeEnum
{
A = 0,
B, // 2
C, // 4
D /6
}
or even Powers of 2 for [Flags] and [Base(2)]
so I get...
[Flags]
[Base(2)]
enum SomeEnum
{
A = 0,
B, // 1
C, // 2
D /4
}
Since you are including other lazy coder features in 2.0, how about this
lazy feature too!
enum so I can for example have the following...
[Increment(2)]
enum SomeEnum
{
A = 0,
B, // 2
C, // 4
D /6
}
or even Powers of 2 for [Flags] and [Base(2)]
so I get...
[Flags]
[Base(2)]
enum SomeEnum
{
A = 0,
B, // 1
C, // 2
D /4
}
Since you are including other lazy coder features in 2.0, how about this
lazy feature too!