Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Concurrent;
- public class Program
- {
- public static void Main()
- {
- bool login = false;
- while (login == false)
- {
- string todo = Console.ReadLine().ToLowerInvariant();
- if (todo.Equals("login"))
- {
- }
- else if (todo.Equals("register"))
- {
- }
- else
- {
- Console.WriteLine("Invalid command");
- }
- }
- }
- private static string getUsername()
- {
- Console.Write("Username: ");
- string inputUsername = Console.ReadLine();
- return inputUsername;
- }
- private static string getPassword()
- {
- Console.Write("Username: ");
- string inputPassword = Console.ReadLine();
- return inputPassword;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement