Solved

Look at the Following Code Sample: Enum Flavor { Vanilla

Question 51

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions