+ 1
If statements broken in C#
Using the Code Playground, when I write an if statement, it executes, whether or not the condition is met, and if I add am else statement, my code wonât compile at all. I assume itâs a probably that has come about in the new SoloLearn update, as in the C# example of else statements, if you click âTry it yourselfâ, SoloLearnâs own code wonât compile (at least not for me - iPhone version). Are other people having the same issue, or should I try deleting the app and download it again?
3 Answers
+ 5
There is somebody else with the same problem:
https://www.sololearn.com/discuss/1101600/?ref=app
+ 4
It's working OK for me in the Android app and on the website. Can't say about issues with the iPhone app though.
0
I think it may have been my fault and I had a ; in the wrong place. Iâm not sure why the example code wouldnât compile for me though.