public static void Main()
Console.WriteLine("Welcome Agent, here if you enter two passwords and both of them are correct then you will get the Confidential code");
Console.WriteLine("So first please enter your name");
string n = Console.ReadLine();
Console.WriteLine("Now Agent " + n + " please enter the first password to access the confidential code ");
string PWD1 = Console.ReadLine();
Console.WriteLine("Now Agent " + n + " please enter the second password to access the confidential code");
string PWD2 = Console.ReadLine();
if ( PWD1 == "C#rocks" && PWD2 == "India123" )
Console.WriteLine("So hello Agent " + n + " looks like the passwords are correct and now you can access the Confidential Code to get few files");
Console.WriteLine("That are top secret");
Console.WriteLine("So the code is TeamHydra200818");
Console.WriteLine("Sorry access denied");