First you should name what language are you using and environment as I don't know if that next is from Java or some other language. If it is from Java then you should be aware if you use more than 32 you may run into issues since some documentation defines the function as:
"The general contract of next is that it returns an int value and if the argument bits is between 1 and 32 (inclusive), then that many low-order bits of the returned value will be (approximately) independently chosen bit values, each of which is (approximately) equally likely to be 0 or 1."
Which states nothing about if you feed it an integer greater than 32.
Instead of generating the number as
r.Next(2);
is it better to generate more numbers and grab one(0 or 1) from the buffer?
r.Next(99999);

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic