3 ms·
C# doesn't seem to be working properly string Hello () { return "test"; } Console.WriteLine(Hello()); solution.cs(1,0): error CS1525: Unexpected symbol `str
by Meph504 9y ago
C# doesn't seem to be working properly
string Hello ()
{
return "test";
}
Console.WriteLine(Hello());
solution.cs(1,0): error CS1525: Unexpected symbol `string'
- BuuQu9hu 9y agoIt expects the whole program in all languages. For C# try using System; class App { static string Hello() { return "test"; } public static void Main(string[] args) { Console.WriteLine(Hello()); } }