Click to See Complete Forum and Search --> : casting to enums


Kesem Zur
October 16th, 2002, 07:35 AM
Why casting an integer to an enum type won't work, unless i'll cast to integer first, and then to int ?

I read an integer type from data set, and had to cast the data read to an integer before casting it to the enum type.