📅  最后修改于: 2022-03-11 14:48:56.603000             🧑  作者: Mango
代码示例1
string text = Console.ReadLine();
if(text == "yes")
{
Console.WriteLine("Correct!");
}
else
{
Console.WriteLine("Incorrect!");
}