Пример #1
0
            static public void Choice(out bool cont)
            {
                cont = true;
                int choiceNumber = int.Parse(Console.ReadLine());

                switch (choiceNumber)
                {
                case 1:
                    RecordList.AddNewRecord();
                    break;

                case 2:
                    RecordList.ChangeRecord();
                    break;

                case 3:
                    RecordList.DeleteRecord();
                    break;

                case 4:
                    RecordList.ShowOneRecord();
                    break;

                case 5:
                    RecordList.ShowWholeDictionary();
                    break;

                case 6:
                    cont = false;
                    break;

                default:
                    break;
                }
            }