Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace FifthProject
- {
- class Program
- {
- static void Main(string[] args)
- {
- string[] name = new string[0];
- string[] surName = new string[0];
- string[] patronymic = new string[0];
- string[] post = new string[0];
- while (true)
- {
- ShowMenu();
- switch (MenuInput())
- {
- case '1':
- Console.WriteLine("slot 1");
- break;
- case '2':
- Console.WriteLine("slot 2");
- break;
- case '3':
- Console.WriteLine("slot 3");
- break;
- case '4':
- Console.WriteLine("slot 4");
- break;
- default:
- break;
- }
- Console.Clear();
- }
- }
- static void ShowMenu()
- {
- Console.WriteLine("\tMenu\n" +
- "1. Add new file\n" +
- "2. Show all files\n" +
- "3. Delete file\n" +
- "4. Exit");
- }
- static char MenuInput()
- {
- char menuInput = Console.ReadKey().KeyChar;
- return menuInput;
- }
- static void AddNewFile()
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement