> For the complete documentation index, see [llms.txt](https://raviram.gitbook.io/c-programing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raviram.gitbook.io/c-programing/c-mini-project/requirements.md).

# Requirements

## Create an in-memory student database

### Student class

```csharp
public class Student
{
    public int Id { get; set; }
    public string Name { get; set; }
    public string City { get; set; }
}
```

### The expectations are shown below:

```
**************** MENU *********************
1) List students
2) Create new student
3) Update student details
4) Delete student
5) Exit
*******************************************

Enter your choice: 1
>
Id	Name	City
1	Sam		NYC
2	Ted		BLR

**************** MENU *********************
1) List students
2) Create new student
3) Update student details
4) Delete student
5) Exit
*******************************************
Enter your choice: 2
>
Enter Student ID: 3
Enter Student Name: kim
Enter Student City: SVC

Student kim created!

**************** MENU *********************
1) List students
2) Create new student
3) Update student details
4) Delete student
5) Exit
*******************************************

Enter your choice: 1
>
Id	Name	City
1	Sam		NYC
2	Ted		BLR
3	kim		SVC

**************** MENU *********************
1) List students
2) Create new student
3) Update student details
4) Delete student
5) Exit
*******************************************

Enter your choice: 4
>
Enter Id of the student to be deleted: 2
>
Kim deleted!

**************** MENU *********************
1) List students
2) Create new student
3) Update student details
4) Delete student
5) Exit
*******************************************

Enter your choice: 5
>
bye
```

#### Similarly, you can create update functionality as well.

### Optional Requirements

1. Also have an option in main menu saying "Filter". Upon selecting it, user must be asked to enter city name. Then the system must show only those students who come from that city
2. Try this using a `WinForms` project where we have UI to view and create data?
