-
Nooby Qeustion
I just started with C# and i Wrote This "Hello World" program :).
When i press Build ill get this error: "fatal error CS2008: There its no importcommand given up" (I Translated it i dont know for Sure that "There its no importcommand given up" is right ;))
The Code From my Hello World Program:
Code:
/*
*
* User: Robin Vossen
* Date: 21-10-2005
* Time: 20:36
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
sdfsdf
public class HelloWorld
{
public static void Main()
{
Console.WriteLine("Hello World!");
}
}
Can you guys/girls help me out here? :ehh:
Thanks Already :)
-
Re: Nooby Qeustion
"sdfsdf" where did that come from?
Code:
using System;
namespace test
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
-
Re: Nooby Qeustion
What compiler/IDE are you using? Most will insert all that for you, all you should need to add is the Console.WriteLine() call.
P.S. DeadEyes 1000 posts, congrats :)
-
Re: Nooby Qeustion
sdfsdf is wrong i wanted to Comment that But i forgot XD
I use SharpDevelop.
-
Re: Nooby Qeustion
Aaack. For your own sake, try VC# Express 2005 :)
-
Re: Nooby Qeustion
Visual C# Express Edition Beta 2 :S
Is that Free?
Is there a None Beta version?
-
Re: Nooby Qeustion
"Fatal error cs2008:No Inputs specified" appears if you call csc.exe with no arguments. Try compiling the program in DOS and see does that make any difference. Remember the PATH variable may not be set.
P.S. Thanks penagate, now on to the next thousand starting with this one.
-
Re: Nooby Qeustion
C# Express is in second Beta phase. If you don't like betas, the RTM version will be out later this year, although the current Beta is actually very stable and close to the final product. And yes, it is free.
-
Re: Nooby Qeustion
It doesnt work on my Windows 98 Computer :(