using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("How goes the day?");
string day = Console.ReadLine();
if (day == Console.ReadKey("Good")) < -----heres the issue
{
Console.WriteLine("Good to hear");
}
}
}
}
lundi 3 août 2020
how do I fix this issue in my code. "Argument 1: cant convert string to bool"
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire