Computer Science, asked by pasana5483, 1 year ago

Q 47 Elaborate the structure of a Switch statement?

Answers

Answered by Anonymous
0
Hey mate!

Here's your answer!!

A switch statement, in C#, is a selection statement that allows for the transfer of program control to a statement list with a switch label that corresponds to the value of the switch expression.

The use of a switch statement results in improved performance and readability when compared to that of the if..else..if.. ladder. A switch statement can contain another switch statement, thus forming a nested switch, which can yield better performance over other approaches.

✌ ✌ ✌
#BE BRAINLY
hope \: it \: helps \: you.

sam1478: hey that is right answer but not full
sam1478: he wants to no design structure of keyword switch statement in c or any other language
sam1478: I m just giving suggestions to you
sam1478: answer is available online at google
sam1478: just write the keyword and Google will give you full answer
Similar questions