Question: hey there instead of using for the line string[] brand = { Trek, Giant, Specialized, Raleigh }; I need this as a Switch Statement in
![hey there instead of using for the line string[] brand =](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4ff58c0f3a_18466f4ff586f4e6.jpg)
hey there instead of using for the line string[] brand = { "Trek", "Giant", "Specialized", "Raleigh" }; I need this as a Switch Statement in C# as well the line
int[] metal_ch = { 0, 175, 425, 615 };// use if statement 4x as well I need this line to be as switch statement instead .
instead of [] I need to written as switch statements language in C#
string() brand = { "Trek", "Giant", "Specialized", "Raleigh" };// use Switch stament 4 x times // int[] metal_ch = { 0, 175, 425, 615 };// use if stament 4x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
