-
Notifications
You must be signed in to change notification settings - Fork 1
/
RulesView.cs
29 lines (26 loc) · 883 Bytes
/
RulesView.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace EmployeeManagementSystem
{
internal class RulesView
{
public void Show()
{
Console.WriteLine(string.Concat(Enumerable.Repeat("-", 33)));
string welcome = "Welcome to the Employee Management System!";
Console.WriteLine(welcome);
string description = "This program allows you to manage your employees' tasks and attendance.\n";
Console.WriteLine(description);
Console.Write("[Press ENTER to continue...]");
if (Regex.IsMatch(Console.ReadLine(), @"\.*"))
{
Console.WriteLine(Environment.NewLine);
System.Threading.Thread.Sleep(800);
}
}
}
}