![]() |
HelloWorld program can compile but no output shown on console
Hi all,
I'm a C# beginner. Managed to download and set up the environment for C# programming. I have downloaded and installed the .Net Framework 2.0 and its corresponding SDK. I compiled a HelloWorld program. No error was shown on the console so I believe it has compiled successfully but it doesn't show "Hello World". Can anyone shed light on this? Is this a setup issue? |
Re: HelloWorld program can compile but no output shown on console
Share your code
|
Re: HelloWorld program can compile but no output shown on console
Here is the code:
using System; public class HelloWorld { public static void Main() { Console.Write("Hello World!"); } } |
Re: HelloWorld program can compile but no output shown on console
Here is the code:
using System; |
Re: HelloWorld program can compile but no output shown on console
Oops...apologies for the double post.
|
Re: HelloWorld program can compile but no output shown on console
And why are you trying to run the program using console. Do you have the Editor?
|
Re: HelloWorld program can compile but no output shown on console
Issue resolved.
Yesterday I installed VS2005. |
| All times are GMT +5.5. The time now is 13:56. |