Skip to content

Instantly share code, notes, and snippets.

@Kanol
Last active August 29, 2015 14:14
Show Gist options
  • Save Kanol/dbd2885aa16635053cf7 to your computer and use it in GitHub Desktop.
Save Kanol/dbd2885aa16635053cf7 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Please write your Login and Password");
Console.Write("Login: ");
String s = Console.ReadLine();
Console.Write("Password: ");
String e = Console.ReadLine();
if (s == "Admin" && e == "123")
{
Console.WriteLine("Login and Password are correct!");
}
else
{
Console.WriteLine("Login or Password is incorrect!");
}
Console.Read();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment