Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Username:");
- String user = Console.ReadLine();
- Console.WriteLine("Password:");
- String Pass = Console.ReadLine();
- Console.WriteLine("Are You Sure Your User: " + user + " And Pass: " + Pass + " is correct? Yes/No");
- Console.ReadLine();
- if (Console.ReadLine() == "Yes" || Console.ReadLine() == "yes")
- {
- Console.WriteLine("You May now close this");
- }
- else if(Console.ReadLine() == "No" || Console.ReadLine() == "no")
- {
- Console.WriteLine("Pleas Press enter");
- System.Diagnostics.Process.Start(Environment.GetCommandLineArgs()[0], Environment.GetCommandLineArgs().Length > 1 ? string.Join(" ", Environment.GetCommandLineArgs().Skip(1)) : null);
- }
- }
- }
Add Comment
Please, Sign In to add comment