Does Anyone know the code to a login????? please

C#:
string pass = "hi!", login = "bob";
if (TextBoxPass.Text == pass && TextBoxLogin.Text == login) {
    Console.WriteLine("Logged in!");
}

:D

You'll need to be slightly more specific I think. ;)
 
Thanks for you reply

Thanks so much for your help, but i am a beginner, what do i add into the form, and what goes under what??????, sorry to annoy
 
Back
Top