Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- Console.WriteLine("Enter Username: ");
- string user = Console.ReadLine();
- Console.Write("Enter Password: ");
- string pass = Console.ReadLine();
- if(user == "Admin" && pass == "1234")
- Console.WriteLine("Successful login.");
- else
- Console.WriteLine("Successful login.");
- Console.ReadKey();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement