Example #1
0
 public void SetAspect()
 {
     TxtPrinter.PrintInformation("Now we'll get information regarding books you've read.", '-', ConsoleColor.DarkGreen);
     NumberOfBooksRead = Asker.GetValue <int>("How many books have you read?");
     FavoriteGenre     = (BookGenre)(Asker.GetChoiceFromList("What is your favorite genre of book?",
                                                             TypParser.GetEnumValuesList <BookGenre>()));
 }
Example #2
0
 public void SetAspect()
 {
     TxtPrinter.PrintInformation("Now we'll get information regarding your education.", '-', ConsoleColor.DarkGreen);
     EducationLevel = (EducationLevel)(Asker.GetChoiceFromList("What is the highest level of education you've attained?",
                                                               TypParser.GetEnumValuesList <EducationLevel>()));
     GPA = Asker.GetValue <decimal>($"What was your average GPA in {EducationLevel}?");
 }