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.
Explain the syntax of the “for” loop.
List the usages of the Command object in ADO.NET?
Explain about the XML elements.
State the two most important categories which distinctly categorize variables of C# programs.
List the types of Cookies that are available in ASP.NET?
Explain the term Metadata?
How to identify that whether any changes are made or not to a DataSet object while it was last loaded?
Write the difference between unmanaged and managed code?
Specify difference between the asynchronous postback and the synchronous postback?
By what way we can recognize that the page is PostBack?
18,76,764
1932041 Asked
3,689
Active Tutors
1431669
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!