+ 1
Help (Why doesn't console.writeline not work?)
I'm new to Sololearn and C#. So the first thing I do is write a "Console.WriteLine("Hello World");" But nothing shows up.
3 ответов
+ 1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hello world");
}
}
}
0
What coding enviroment do you use ?
Sololearn playground or Visual Studio ?
If it is the sololearn playground can you post a link to the code.
0
to use the 'Console.WriteLine', you need to use the namespace 'System'.
using System;
otherwise you should use 'System.Console.WriteLine("hellow world")'.