Can you define what this syntax is up to.
listBox1.Items.Add((Keys)random.Next(65, 90));
I understand everything except for the "(Keys)" part and its relationship
in the syntax being right before the "random.Next". I get the overall purpose of the code statement which is to pick a random # that then corresponds to a Key value that gets sucked into the listBox1 control. But what is the '(keys)' syntax referred too? What I have seen so far this type of syntax would suggest a casting of the random.Next(65,90) class-method. Or is this a receptor of the returned random number from random.Next somehow? Any examples in MSDN? Hard to search with (Keys)class.method().
Thanks!











