Enumeration
Define the term Enumeration?
Expert
Enumeration can be defined as a value type which consists of set of named values. These values are constants and are termed as enumerators. Enumeration type is declared using the keyword “enum”. Each enumerator in an enumeration is linked with an underlying type that is already set, by default.
The following explains an example to show the creation of an enumeration to store different varieties of fruits:
enum Fruits {Mango, orange, Apple, Guava};
In above example, an enumeration “Fruits” is created, where number Mango is associated with0, number Apple with1, number Orange with2, and number Guava with3. Enumeration can be accessed by using these values.
Illustrate the terms Persistent cookie as well as Session cookie?
Write about the AJAX and JavaScript?
Write the advantages of the code-behind feature?
Write the difference between server-side validations and client-side in Web pages?
Write the two properties of the GridView control which have to be specified to turn on paging and sorting?
List some differences between the CheckBox control and a RadioButton control?
Can we enter more than single line in the TextBox control?
Write down a short note on the brief history of WPF?
Briefly describe the TrackBar control.
What is AccordionExtender control?
18,76,764
1947584 Asked
3,689
Active Tutors
1438824
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!