Bug in a C# program: a for loop in response to a button press. Each loop changes one of three labels' text with randomly generated text from a static function call. With breakpoints, runs flawlessly. Without, each label ends up with the same text. Anyone have any ideas?

(for reference, this is a friend's code and I've tried different things. Sleeping or showing a message box fix it, but are not ideal solutions.)

Sign in to participate in the conversation

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !