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.
Can a private class be declared in a namespace?
Explain the Code Contracts?
Illustrate the term Web User Control?
Write down the command which is used to run a batch?
Name some classes which is utilized to handle standard menu in MenuStrip control.
What is the function of Orientation property in a Menu control?
Explain about the XML elements.
Explain about the DataAdapter.Update() and DataSetAcceptChanges() methods.
Name the latest features of the ADO.NET Entity Framework 4.0?
Is it possible to validate a DropDownList by RequiredFieldValidator?
18,76,764
1960648 Asked
3,689
Active Tutors
1433166
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!