Thank you, the code is working in VS. I actually didn't know VS is called a compiler, when I googled search compilers for C# all they gave me are these online website compilers.
The compiler I used from this website: C# Online Compiler (Editor / Interpreter)
Its actually working in Visual Studios now, I actually didn't know VS community is called a compiler.
Hi, I am a beginner in C# and I am currently learning this program from an online PDF book.
Within the book there is a code example and the author stated that it should work if I put it in a C# compiler.
However, when I copy and paste the code into an online compiler I got this error message...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.