예제 #1
0
        /// <summary>
        ///  возвращает случайную группу
        /// </summary>
        /// <param name="groupController"></param>
        /// <returns></returns>
        private Group RandomGroup(GroupController groupController)
        {
            Random random = new Random();

            return(groupController.Groups()[random.Next(0, groupController.Groups().Count)]);
        }
예제 #2
0
 private static void PrintGroup(GroupController controller)
 {
     Print(controller.Groups(), "Список групп:");
 }