sathyboopathiraja
March 9th, 2009, 01:06 AM
Dear All,
I am using enum type in my code, i need to reset the existing enum type. how can i achieve this.
public enum shape { line = 1, Rectangle, Circle };
here,
line=1,
Rectangle=2,
Circle=3
I need to reset this as ,
line=0,
Rectangle=0,
Circle=0
How can i reset this enum type. If Any one known about this kindly guide me.
With reggards,
Boopathiraja.N.
Thanks in Advance for your guidance!.....
I am using enum type in my code, i need to reset the existing enum type. how can i achieve this.
public enum shape { line = 1, Rectangle, Circle };
here,
line=1,
Rectangle=2,
Circle=3
I need to reset this as ,
line=0,
Rectangle=0,
Circle=0
How can i reset this enum type. If Any one known about this kindly guide me.
With reggards,
Boopathiraja.N.
Thanks in Advance for your guidance!.....