lundi 8 mai 2017

How can i generate a random string that can contain either plus sign or minus sign (- or +)

I'm making a math game, and I need to make it randomize either - or +.
I have already tried this:

Random rnd = new Random();
string name = rnd.Next(-, +);  

But that doeen't work, Anyone have a way I can do this?




Aucun commentaire:

Enregistrer un commentaire