+ 6
Compilation Error
Why i am getting Compilation Error on this code https://code.sololearn.com/c40Ab4xFoE5S/?ref=app
3 Answers
+ 9
Did you write the code in a normal text editor or in a text processing program like Word? Beginning with line 422, every whitespace seems to be replaced by some weird formatted symbol (you can see it if you look at the code in a browser). Maybe it's a non-breaking space or something like that. Probably the compiler can't handle that
+ 3
hi Asgar, Anna had a very good point, make sure when you write a program you use a stupid text editor just that outputs ASCII characters. A word .doc file or an RTF file will blow most compilers minds. they don't like non-ASCII characters.
+ 2
Anna the code was originally written in vb.net in visual studio 2008 and was tested in visual studio 2017.It was converted to c# using telerik converter.i can see the weird symbols when pasted in word file.However the code compiles and shows the error after line 422 if there is error after line 422.