How should you complete the relevant code?

Posted by: Pdfprep Category: 70-483 Tags: , ,

HOTSPOT

You are implementing a library method that accepts a character parameter and returns a string.

If the lookup succeeds, the method must return the corresponding string value. If the lookup fails, the method must return the value "invalid choice."

You need to implement the lookup algorithm.

How should you complete the relevant code? (To answer, select the correct keyword in each drop-down list in the answer area.)

Answer:

Explanation:

switch(letter)

{

case ‘a’:

case ‘m’:

default:

}

Reference: switch (C# Reference)

http://msdn.microsoft.com/en-us/library/06tc147t(v=vs.110).aspx

Leave a Reply

Your email address will not be published.