Question
Using C# window Form project to maintain a list of friends and their birthdays. Define a class Friend with the following fields: lastname, firstname, dateofbirth
Using C# window Form project to maintain a list of friends and their birthdays. Define a class Friend with the following fields: lastname, firstname, dateofbirth (use date time type). Add constructor, and get properties. Add method GetAge() that returns the age of the person. In Form1: Define a list of Friends. In Form1Load: prepopulate the list with at least 6 friends. Add Gui to allow to add a friend to the list. Add Gui to display all the friends names, birthdate and age. Add Gui to display the oldest and youngest friend. Add Button to save the list of friends to a file friends.dat. Add Button to read the file back to the list of friends.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started