Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.93 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ConsoleApp1
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             Account account = new Account();
  10.             Console.WriteLine("Name=");
  11.             string name = Console.ReadLine();
  12.             Console.WriteLine("password=");
  13.             string password = Console.ReadLine();
  14.             Console.WriteLine("password2=");
  15.             string pas_checkup = Console.ReadLine();
  16.             Console.WriteLine("email=");
  17.             string email= Console.ReadLine();
  18.             Console.WriteLine(account.Registration(name, password,pas_checkup, email));
  19.             Console.ReadKey();
  20.             Console.WriteLine("Name=");
  21.             string name2 = Console.ReadLine();
  22.             Console.WriteLine("Password=");
  23.             string pas3 = Console.ReadLine();
  24.             Console.WriteLine(account.LogIn(name2,pas3));
  25.             Console.ReadKey();
  26.         }
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement