?? 身份驗證.txt
字號:
using System;
class validate
{
public static void Main()
{
string str_wrench="ilovemyfamily";
string str_next="";
Console.WriteLine ("請輸入你的姓名:");
Console.ReadLine ();
do
{
Console.WriteLine ("請輸入你的密碼:");
string str_passwd=Console.ReadLine ();
if(str_passwd!=str_wrench)
{
Console.WriteLine ("密碼不正確,是否繼續?Y/N");
}
str_next=Console.ReadLine ();
}while(str_next=="y"||str_next=="Y");
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -