Skip to content

Commit

Permalink
Loading and cear
Browse files Browse the repository at this point in the history
  • Loading branch information
Iknow6aint committed Jan 6, 2023
1 parent 3f6b63d commit 64199df
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,15 @@ public void CheckUserCardNumberAndPassword()

tempUserAccount.CardNumber = Validator.Convert<long>("Your Card number");
tempUserAccount.CardPin = Convert.ToInt32(Utility.GetSecretInput("Enter Your Card Pin"));

Console.WriteLine(" Checking Card number and PIN ...");

int timer = 10;
for (int i = 0; i < timer; i++)
{
Console.Write(".");
Thread.Sleep(200);
}
Console.Clear();
}
}
1 change: 1 addition & 0 deletions Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public static string GetSecretInput(string prompt)
PrintError("\nPlease enter 6 digits.", false);
isPrompt = true;
input.Clear();
continue;
}
}
if (inputkey.Key == ConsoleKey.Backspace && input.Length > 0)
Expand Down
Binary file modified bin/Debug/net6.0/c#.dll
Binary file not shown.
Binary file modified bin/Debug/net6.0/c#.pdb
Binary file not shown.
Binary file modified obj/Debug/net6.0/c#.dll
Binary file not shown.
Binary file modified obj/Debug/net6.0/c#.pdb
Binary file not shown.

0 comments on commit 64199df

Please sign in to comment.