Multiple Choice
Look at the following code sample: enum Flavor { Vanilla, Strawberry, Chocolate }
Flavor iceCreamFlavor = Flavor.Strawberry;
MessageBox.Show(iceCreamFlavor + " is my favorite!") ;
Which one of the following strings will be displayed in the message box?
A) Flavor.Strawberry is my favorite!
B) iceCreamFlavor is my favorite!
C) Strawberry is my favorite!
D) iceCreamFlavor + is my favorite!
Correct Answer:

Verified
Correct Answer:
Verified
Q46: When you declare an enumerated type, the
Q47: Assume the following declarations:<br>enum Days { Mon,
Q48: Enumerators and enum variables have a ToString
Q49: Structure objects are normally passed _ to
Q50: When you call a string object's Split
Q52: The _ methods return an integer value
Q53: A(n) _ is a data type you
Q54: Assume the following declarations:<br>enum Days { Mon,
Q55: You can use the assignment operator (=)
Q56: A string object's _ method returns true