#代码
string name = "";
string pwd = "";
do
{
Console.WriteLine("请输入用户名");
name = Console.ReadLine();
Console.WriteLine("请输入密码");
pwd = Console.ReadLine();
if (name != "admin" || pwd != "888888")
{
Console.WriteLine("用户名或密码错误");
}
}
while (name != "admin" || name != "888888");
Console.ReadKey();