MCQOPTIONS
Saved Bookmarks
| 1. |
Choose the correct statement about the C#.NET code given below? enum color:byte { yellow = 500, green = 1000, pink = 1300 } |
| A. | Byte value cannot be assigned to enum elements |
| B. | Enum elements should always take successive values |
| C. | Enum must always be of int type |
| D. | When the valid range of byte exceeds, the compiler will report an error |
| Answer» E. | |