+ 1
how to solve compilation error
http://www.sololearn.com/app/csharp/playground/cy4qd5RF62eN/ this code told me “compilation error”. where should i change?
6 Respostas
+ 3
rym Remove the "public" and "new" keywords from Line 31.
Replace:
public string[] otpt = new data.strotpt.Split(' ');
with:
string[] otpt = data.strotpt.Split(' ');
+ 6
HonFu For many questions, like the really good ones you ask, there isn't a clear best answer because discussion is warranted.
This question is pretty much an open and shut case. 😉
+ 4
Jay Matthews This link should work:
https://code.sololearn.com/cy4qd5RF62eN/?ref=app
+ 4
rym Great! Don't forget to identify which answer is considered to be the accepted answer.
+ 1
thank you so much!
the code worked correctly
+ 1
David Carroll, I think I frequently forgot to mark 'best answer' in the past!
Usually I wait a while until someone answers; then I don't want to discourage anyone to add something valuable to what has been said; then I end up forgetting about it when the thread calms down. :-(