vendredi 26 mai 2017

How to take randomly generated letter and make it to do something? C#

I want to have a program that prints out 7 random activities to do for the week, i know how to generate random numbers but I don't know how to make a certain number that's generated print out a certain activity. let's say if the random generated number is 1 it will print out golfing etc. If you could provide an example code that would be great, i'm new to c#. Thank you




Aucun commentaire:

Enregistrer un commentaire