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.
What is the function of DialogResult property of the Button control?
Illustrate the basic difference between the PenLineCap's Flat and Square values?
State the use of the Panel control? Does it is displayed at the runtime.
Differentiate between publishing and deploying an application?
What do you mean by the term WPF?
How one can retrieve the customized properties of the .NET application from a XML .config file?
How we can enable impersonation in the web.config file?
Describe the role of the JIT compiler in .NET Framework?
Write the name of namespaces which are required to allow the use of the databases in the ASP.NET pages?
Illustrate the difference between Web.Config and Machine.Config and where it will be?
18,76,764
1926610 Asked
3,689
Active Tutors
1438630
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!