+ 1

C#Love chat-2

Continue to work for our Mandy. Now we are trying to guess her favourite color. Can I use here ENUM instead of List<>? https://code.sololearn.com/cwsT4sdXXbik/?ref=app

10th Sep 2017, 12:09 PM
Топчий Анастасия Александровна
Топчий Анастасия Александровна - avatar
3 Antworten
+ 1
@Empty and how can I print all variants from enum in Console?
10th Sep 2017, 12:57 PM
Топчий Анастасия Александровна
Топчий Анастасия Александровна - avatar
+ 1
@Empty but what if enum has many items, and I want to print them all? How can I use a loop with enum?
10th Sep 2017, 1:16 PM
Топчий Анастасия Александровна
Топчий Анастасия Александровна - avatar
+ 1
Finally! I got it! what were my mistakes: 1. after enum line there is NO ";" 2.I didn't know about typeof https://code.sololearn.com/ctpPlLHAoqpr/?ref=app
10th Sep 2017, 2:21 PM
Топчий Анастасия Александровна
Топчий Анастасия Александровна - avatar