CodePudding user response:
It is read from the file, and then verifyCodePudding user response:
Notepad to create a new text file, enter the following 2 linesThe username
"
Save as c: \ 1. TXT
In program
String [] arr=System. IO. File. ReadAllLines (" c: \ \ 1. TXT ");
The arr [0] is "username"
Arr [1] is "password"
You and your program input comparison, judgment