Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
QuestionForwarding received SMS from the phone to output Pin
Kujtim Hyseni3-Apr-10 22:29
Kujtim Hyseni3-Apr-10 22:29 
QuestionHow can i find some Hardware information on run time ? Pin
Yanshof3-Apr-10 13:37
Yanshof3-Apr-10 13:37 
AnswerRe: How can i find some Hardware information on run time ? Pin
Eddy Vluggen3-Apr-10 14:28
professionalEddy Vluggen3-Apr-10 14:28 
GeneralRe: How can i find some Hardware information on run time ? Pin
Yanshof3-Apr-10 14:31
Yanshof3-Apr-10 14:31 
GeneralRe: How can i find some Hardware information on run time ? Pin
Eddy Vluggen3-Apr-10 14:37
professionalEddy Vluggen3-Apr-10 14:37 
AnswerRe: How can i find some Hardware information on run time ? Pin
Ravi Bhavnani3-Apr-10 14:42
professionalRavi Bhavnani3-Apr-10 14:42 
QuestionProduct key feature Pin
Alok Sharma ji3-Apr-10 3:12
Alok Sharma ji3-Apr-10 3:12 
AnswerRe: Product key feature Pin
xEvOx3-Apr-10 3:41
xEvOx3-Apr-10 3:41 
GeneralRe: Product key feature Pin
Alok Sharma ji3-Apr-10 3:47
Alok Sharma ji3-Apr-10 3:47 
Questionwebbrowser and autoviewer Pin
daveice3-Apr-10 0:45
daveice3-Apr-10 0:45 
AnswerRe: webbrowser and autoviewer Pin
Abhinav S3-Apr-10 1:36
Abhinav S3-Apr-10 1:36 
QuestionRandom numbers Pin
Janded3-Apr-10 0:12
Janded3-Apr-10 0:12 
QuestionRe: Random numbers Pin
sanforjackass3-Apr-10 0:14
sanforjackass3-Apr-10 0:14 
AnswerMessage Removed Pin
3-Apr-10 0:22
Janded3-Apr-10 0:22 
GeneralRe: Random numbers Pin
sanforjackass3-Apr-10 0:28
sanforjackass3-Apr-10 0:28 
GeneralRe: Random numbers Pin
Dave Kreskowiak3-Apr-10 3:03
mveDave Kreskowiak3-Apr-10 3:03 
GeneralRe: Random numbers Pin
OriginalGriff3-Apr-10 4:30
mveOriginalGriff3-Apr-10 4:30 
GeneralRe: Random numbers Pin
Dave Kreskowiak3-Apr-10 5:43
mveDave Kreskowiak3-Apr-10 5:43 
GeneralRe: Random numbers Pin
OriginalGriff3-Apr-10 5:47
mveOriginalGriff3-Apr-10 5:47 
AnswerRe: Random numbers Pin
Abhinav S3-Apr-10 0:26
Abhinav S3-Apr-10 0:26 
GeneralRe: Random numbers Pin
Som Shekhar3-Apr-10 1:13
Som Shekhar3-Apr-10 1:13 
GeneralRe: Random numbers Pin
Abhinav S3-Apr-10 1:24
Abhinav S3-Apr-10 1:24 
GeneralRe: Random numbers Pin
harold aptroot3-Apr-10 1:47
harold aptroot3-Apr-10 1:47 
GeneralRe: Random numbers Pin
Abhinav S3-Apr-10 1:52
Abhinav S3-Apr-10 1:52 
GeneralRe: Random numbers Pin
Som Shekhar3-Apr-10 1:58
Som Shekhar3-Apr-10 1:58 
Yes sir. You are right here. But if you change the seed automatically using Random rnd = new Random(); the seed is going to be the same if there is no delay in time. Check with the code sample I provided.

However, you do not need to change the seed. Next method always returns a new random number.

Usually when you need to generate multiple Random Numbers, stick to the same Random Object with the seed used for the first time.

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.