A little heads up this might be a silly question, I’m still learning the proper syntaxes of C#, so I got stuck for almost 2h now in this tutorial.
I’m under that Variables Practice Tests and the video instructs us to create a string array as seen below.
Then at one point we have to iterate though the string array and filter them with a Switch statement using the following method in VB:
While this works in VB it doesnt not in C# and for the life of me I cannot figure out why.
Can anyone that has more knowledge in C# transpose this method?
Also it would be good if the tutorials would offer a C# alternative , at least in writing.
I’m thinking of saving every instance where it changes and offer it for review later.
Thanks in advance