I'm new on c#. So i created simple cs file including code template. I removed using System line and tried to write my code using fully qualified name like System.Console.WriteLine("Hello World!"); But when i tried to compile it on CMD i got this error message :
Test.cs(4,20): error CS0246: The type or namespace name 'String' could not be found (are you missing a using directive or an assembly reference?)
code :
//using System;
namespace first{
class Test{
static void Main(String[] args){
System.Console.WriteLine("Welcome To C#");
System.Console.ReadKey();
}
}
}