I didn't find any solutions to this problem, I tried else if and got the same problem, why?
using System;
namespace ConsoleApp4
{
class Program
{
static void Main(string[] args)
{
if ("A" == "B") ;
{
Console.WriteLine("s");
} //i got error in this line
else
{
Console.WriteLine("f");
}
}
}
}
Aucun commentaire:
Enregistrer un commentaire