As a 'fun task' I've been asked to research C# and develop a randomizer for a Secret Santa. So far, I plan on using my program as a console application. I would like the program to work like this:
User inputs their name
Program removes them from the array
Program displays a random name
Result is then deleted from the array
User is 'logged out' and the next person starts by typing their name in
I know that to do this I need to use logic statements,
eg if "input" = "random" then pick again or something to that effect.
What would be the best way for me to go about this? Please bear in mind that I have never worked with C# before and have only watched a couple hour-or-so long YouTube videos as an introducion.
Aucun commentaire:
Enregistrer un commentaire