Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: media not adding to play list Pin
Anindya Chatterjee13-Jul-09 2:09
Anindya Chatterjee13-Jul-09 2:09 
GeneralRe: media not adding to play list Pin
uglyeyes13-Jul-09 2:22
uglyeyes13-Jul-09 2:22 
GeneralRe: media not adding to play list Pin
Anindya Chatterjee13-Jul-09 2:57
Anindya Chatterjee13-Jul-09 2:57 
GeneralRe: media not adding to play list [modified] Pin
uglyeyes13-Jul-09 4:01
uglyeyes13-Jul-09 4:01 
GeneralRe: media not adding to play list Pin
uglyeyes13-Jul-09 17:54
uglyeyes13-Jul-09 17:54 
GeneralRe: media not adding to play list Pin
uglyeyes14-Jul-09 13:39
uglyeyes14-Jul-09 13:39 
GeneralRe: media not adding to play list Pin
uglyeyes14-Jul-09 17:05
uglyeyes14-Jul-09 17:05 
Questionhow to generate 0's and 1's only through Random Class... Pin
spalanivel13-Jul-09 1:47
spalanivel13-Jul-09 1:47 
Hi,
How to generate only 0's and 1's by loop through the condition. I have tried with Random Class like
private int RandomNumber(int min, int max)
{
Random random = new Random();
return random.Next(min, max);
}
Inside for loop i am having the following line;
int returnValue = RandomNumber(0, 1);

It's returning all 0's. Is any other method to use.

Thanks,
Subbu
AnswerRe: how to generate 0's and 1's only through Random Class... Pin
Anindya Chatterjee13-Jul-09 2:02
Anindya Chatterjee13-Jul-09 2:02 
GeneralRe: how to generate 0's and 1's only through Random Class... Pin
spalanivel13-Jul-09 2:13
spalanivel13-Jul-09 2:13 
GeneralRe: how to generate 0's and 1's only through Random Class... Pin
Anindya Chatterjee13-Jul-09 2:48
Anindya Chatterjee13-Jul-09 2:48 
AnswerRe: how to generate 0's and 1's only through Random Class... Pin
Luc Pattyn13-Jul-09 3:01
sitebuilderLuc Pattyn13-Jul-09 3:01 
QuestionHow to Use PropertyGrid for Complex Class Pin
Anindya Chatterjee13-Jul-09 1:45
Anindya Chatterjee13-Jul-09 1:45 
AnswerRe: How to Use PropertyGrid for Complex Class Pin
Henry Minute13-Jul-09 3:13
Henry Minute13-Jul-09 3:13 
GeneralRe: How to Use PropertyGrid for Complex Class Pin
Anindya Chatterjee13-Jul-09 3:16
Anindya Chatterjee13-Jul-09 3:16 
QuestionUpdating Text File Pin
vishal moharikar13-Jul-09 1:27
vishal moharikar13-Jul-09 1:27 
AnswerRe: Updating Text File Pin
musefan13-Jul-09 4:00
musefan13-Jul-09 4:00 
GeneralRe: Updating Text File Pin
vishal moharikar15-Jul-09 19:20
vishal moharikar15-Jul-09 19:20 
GeneralRe: Updating Text File Pin
musefan15-Jul-09 21:52
musefan15-Jul-09 21:52 
GeneralRe: Updating Text File Pin
vishal moharikar19-Jul-09 18:27
vishal moharikar19-Jul-09 18:27 
Questionhow to check Pin
Nath13-Jul-09 1:19
Nath13-Jul-09 1:19 
AnswerRe: how to check Pin
DaveyM6913-Jul-09 1:27
professionalDaveyM6913-Jul-09 1:27 
AnswerRe: how to check Pin
Nagy Vilmos13-Jul-09 1:29
professionalNagy Vilmos13-Jul-09 1:29 
Questioncreating services in C#.NET Pin
Sujay chakraborty13-Jul-09 0:41
Sujay chakraborty13-Jul-09 0:41 
AnswerRe: creating services in C#.NET Pin
stancrm13-Jul-09 0:48
stancrm13-Jul-09 0:48 

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.