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 validation controls?
List the various techniques to authenticate the user in ASP.NET?
What does it signify to state ‘the canonical’ form of the XML?
List the types of data types that are present in .NET?
State the syntax used to declare the namespace in .NET?
Explain how CAS works?
How can height of a combo box drop-down list can be adjusted?
Write down a feature that is common to all the .NET languages?
In what way we can disable a context menu for the TextBox control?
Differentiate between the HyperLink control and the LinkButton control?
18,76,764
1958486 Asked
3,689
Active Tutors
1412659
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!