Sunday 26 November 2017

c# - How to generate a random number that is different from an existing number?

I know this question sounds like a duplicate, but I
haven't found an answer to it yet. Let me know,
thanks.




For example:
a =
50
b = random



But b can never be the
same as a

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...