|
-
March 9th, 2009, 01:06 AM
#1
How reset the Existing enum type values
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!.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|