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.
Differentiate the terms dynamic and var data types?
Briefly describe the properties in C# and state the advantages which are attained by using them in programs?
Explain MaskedTextBox control and what does the Mask property do?
Can more than one line be entered in a TextBox control?
Explain briefly the term AutoPostBack?
Explain the use of App_Code folder in ASP.NET?
Explain the function of break statement in a switch statement with example?
Using XSLT, how the value of a specific attribute can be extracted from an element in the XML document?
Briefly describe constant.
Briefly describe key-based dependency and file-based dependency?
18,76,764
1924339 Asked
3,689
Active Tutors
1454551
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!