insert
Code:
using System;
namespace Wrox
{
public class MyFirstClass
{
static void Main()
{
Console.WriteLine("Hello from Wrox.");
Console.ReadLine();
return;
}
}
}
I am told to compile this code using a txt editor saving it as a CS extension.
Having some confusion compiling this to turn it into a EXE file.
The book i am using says
"You can compile this program by simply running the C# command line compiler (csc.exe) against the source file like this :
csc first.cs
It looks like from my understanding that i need to have visual studio installed to even changed this code into an EXE file. The book seems not to clarify this.
Also from my noobie ness i tried to compile this in codeblocks but it wont work. Im guessing Codeblocks wont support C# ?
Also tried compiling this on code blocks does codeblocks not support C#?
Any help appreciated.