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.
Is it possible for users to define their own exceptions in code?
Write the name of event which determines that all controls are completely loaded into the memory?
Explain some of the versions of .NET?
Differentiate between authorization and authentication?
Write the differences between HTML and XML.
How can height of a combo box drop-down list can be adjusted?
Is there a technique to suppress the finalize process within the garbage collector forcibly in .NET?
State some of the use of ScriptManager control in the AJAX?
Define is IIS and also explains its uses?
What are validation controls? How many validation controls are present in ASP.NET 4.0?
18,76,764
1948086 Asked
3,689
Active Tutors
1457672
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!