+ 1

Just a thought

I was wondering if you could call/run a method in a case switch statement?

8th Jan 2018, 9:09 PM
Ilan Horesh
Ilan Horesh - avatar
2 Antworten
0
Yeah
8th Jan 2018, 9:21 PM
Ilan Horesh
Ilan Horesh - avatar
0
Yes, you can. one example in C# (dates back a year or so ago - below) But I have done this in other languages as well. https://code.sololearn.com/ciY8vD9g7X03/?ref=app
8th Jan 2018, 9:45 PM
Frédéric Charette
Frédéric Charette - avatar