using System.Collections.Generic;
using System.Threading.Tasks;
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; set; }
public Student(string fname, string lname, int age)
public override string ToString()
return $"Id:{Id}; FirstName: {FirstName}; LastName: {LastName}; Age: {Age}" ;
List<Student> students = new List<Student>() {new Student("names","lnames" ,12) };
public void AddUser(Student entity)
Console.WriteLine("Student Added!");
Console.WriteLine("Students Deleted");
foreach (Student o in students)
static void Main(string[] args)
ConsoleColor color = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Blue;
List<Student> students = new List<Student>();
Manager manager = new Manager();
Console.WriteLine(" 1. Add User \n 2. Remove user \n 3. Show all user");
Console.WriteLine("Please choose correct options:");
int command = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Write your first name");
string fname = Console.ReadLine();
Console.WriteLine("Write your last name");
string lname = Console.ReadLine();
Console.WriteLine("Write when born");
int age = Convert.ToInt32(Console.ReadLine());
Student user = new Student(fname, lname, age);
Console.WriteLine("Use");
Console.WriteLine("Показать всех пользователей");
Console.WriteLine("Are you sure wanna quit?");