string str=Console.ReadLine().ToLower();
if (str == "admin")
Console.WriteLine("admin welcome");
else if (str == "bd")
Console.WriteLine("hello");
else
Console.WriteLine("none");
web能够吗?我给你个!
楼上的写的简单了点!
0
string str=Console.ReadLine().ToLower();
if (str == "admin")
Console.WriteLine("admin welcome");
else if (str == "bd")
Console.WriteLine("hello");
else
Console.WriteLine("none");
web能够吗?我给你个!
楼上的写的简单了点!