❔ Learning C# Need help fixing a problem.
I am following a tutorial but am stuck because of a problem that is coming up I do not understand it.
Here is my Code:
using System;
namespace Learning_Unity
{
class Program
{
static void Main(string[] args)
{
Console.Title = "SnowCrash";
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WindowHeight = 40;
Console.WriteLine("Hello, what's your name?");
Console.ReadLine();
Console.WriteLine("Ah yes, I see. \nThank you for that valuable information.");
Console.WriteLine("What is your address?");
Console.ReadLine();
Console.WriteLine("Haha, this is fun! \I can't believe I am talking to a real person.");
Console.ReadKey();
}
}
}
Here is the error
[{
"resource": "/c:/Users/-------/Desktop/Game Dev/Learning Unity/Program.cs",
"owner": "msCompile",
"code": "CS1002",
"severity": 8,
"message": "; expected [C:\Users\------\Desktop\Game Dev\Learning Unity\Learning Unity.csproj]",
"startLineNumber": 22,
"startColumn": 75,
"endLineNumber": 22,
"endColumn": 75
}]
Here is my Code:
using System;
namespace Learning_Unity
{
class Program
{
static void Main(string[] args)
{
Console.Title = "SnowCrash";
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WindowHeight = 40;
Console.WriteLine("Hello, what's your name?");
Console.ReadLine();
Console.WriteLine("Ah yes, I see. \nThank you for that valuable information.");
Console.WriteLine("What is your address?");
Console.ReadLine();
Console.WriteLine("Haha, this is fun! \I can't believe I am talking to a real person.");
Console.ReadKey();
}
}
}
Here is the error
[{
"resource": "/c:/Users/-------/Desktop/Game Dev/Learning Unity/Program.cs",
"owner": "msCompile",
"code": "CS1002",
"severity": 8,
"message": "; expected [C:\Users\------\Desktop\Game Dev\Learning Unity\Learning Unity.csproj]",
"startLineNumber": 22,
"startColumn": 75,
"endLineNumber": 22,
"endColumn": 75
}]