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.
Write down the core of WPF assemblies?
What is a static constructor and also explain its features?
State the major difference between the sub-procedure and function?
Write the difference between an interface and abstract class?
Briefly state the characteristics of the value-type variables which C# programming language supports.
What is the use of Global.asax file?
State the difference between GroupBox and Panel control?
Explain the several methods required by the DataSet object for generating the XML?
What do you mean by the term non_deterministic finalization?
Describe about LINQ query expressions?
18,76,764
1961710 Asked
3,689
Active Tutors
1436019
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!