static string CheckIdExists()
        {
            Console.WriteLine("Enter employee id: ");
            string           idcheck = Convert.ToString(Console.ReadLine());
            string           idfinal;
            DataManipulation check = new DataManipulation();
            var idlist             = check.idList();
            int count = idlist.Count;
            var list  = check.ForUse();

            if (!list.ContainsKey(idcheck))
            {
                idfinal = idcheck;
            }
            else
            {
                do
                {
                    Console.WriteLine("Employee id already exist\nPlease enter a new Employee id:(Suggested Employee ID: {0})", count);
                    idcheck = Convert.ToString(Console.ReadLine());
                } while (list.ContainsKey(idcheck));

                idfinal = idcheck;
            }
            return(idfinal);
        }
        static void RemoveEmployee()
        {
            DataManipulation delete = new DataManipulation();
            var collect             = delete.ForUse();

            Console.WriteLine(string.Join(", ", collect.Keys));
            Console.WriteLine(string.Join(", ", collect["2"]));
            Console.WriteLine("Enter employee id: ");
            string empID = Convert.ToString(Console.ReadLine());
            var    edit  = delete.idList();

            if (collect.ContainsKey(empID))
            {
                collect.Remove(empID);
                Console.WriteLine(string.Join(", ", collect.Keys));
                Console.WriteLine("Employee details of Employee ID {0} successfully deleted.", empID);
            }
            else if (!edit.Contains(empID))
            {
                Console.WriteLine("Employee details of Employee ID {0} does not exist.", empID);
            }
        }