Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 5:34
stephen.darling23-Aug-11 5:34 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
RDSchaefer23-Aug-11 6:07
RDSchaefer23-Aug-11 6:07 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 6:52
stephen.darling23-Aug-11 6:52 
SuggestionRe: How do I generate a number divisable by 5, and check it? PinPopular
Simon Bang Terkildsen22-Aug-11 5:26
Simon Bang Terkildsen22-Aug-11 5:26 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
mooman2723-Aug-11 10:34
mooman2723-Aug-11 10:34 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced24-Aug-11 6:58
riced24-Aug-11 6:58 
GeneralMessage Removed PinPopular
22-Aug-11 4:00
David198722-Aug-11 4:00 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling22-Aug-11 23:19
stephen.darling22-Aug-11 23:19 
David1987 wrote:
And make sure you reuse a single instance of Random,


How exactly do I ensure that I am doing this?

I am using rand a number of times, and although I get different values, it does appear that they are very simular.

Regards,
Stephen
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
Tom Chantler23-Aug-11 1:15
professionalTom Chantler23-Aug-11 1:15 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Member 462161222-Sep-11 4:53
Member 462161222-Sep-11 4:53 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
Paulo_JCG23-Aug-11 2:09
professionalPaulo_JCG23-Aug-11 2:09 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
Member 798954823-Aug-11 4:07
Member 798954823-Aug-11 4:07 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Michael A. Cochran23-Aug-11 4:41
Michael A. Cochran23-Aug-11 4:41 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
lucien6423-Aug-11 4:56
professionallucien6423-Aug-11 4:56 
AnswerRe: How do I generate a number divisable by 5, and check it? [modified] PinPopular
Michael A. Cochran23-Aug-11 4:56
Michael A. Cochran23-Aug-11 4:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 5:38
stephen.darling23-Aug-11 5:38 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Chris Maunder23-Aug-11 6:24
cofounderChris Maunder23-Aug-11 6:24 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 6:56
stephen.darling23-Aug-11 6:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Michael A. Cochran23-Aug-11 6:32
Michael A. Cochran23-Aug-11 6:32 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 7:00
stephen.darling23-Aug-11 7:00 
GeneralMandatory XKCD reference Pin
jsc4224-Aug-11 1:23
professionaljsc4224-Aug-11 1:23 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
Vite Falcon23-Aug-11 7:28
Vite Falcon23-Aug-11 7:28 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Michael A. Cochran23-Aug-11 9:17
Michael A. Cochran23-Aug-11 9:17 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
fuximus23-Aug-11 15:40
fuximus23-Aug-11 15:40 
AnswerRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 8:54
KP Lee23-Aug-11 8:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.