Click here to Skip to main content
16,006,348 members
Home / Discussions / C#
   

C#

 
Generalreading the color of pixel Pin
Amir Jalaly16-Jul-05 6:10
Amir Jalaly16-Jul-05 6:10 
GeneralService Install Error Pin
MeshMesh16-Jul-05 3:18
MeshMesh16-Jul-05 3:18 
GeneralRe: Service Install Error Pin
Dave Kreskowiak16-Jul-05 6:42
mveDave Kreskowiak16-Jul-05 6:42 
GeneralRe: Service Install Error Pin
Anonymous16-Jul-05 21:53
Anonymous16-Jul-05 21:53 
GeneralInteractive Windows Service Pin
MeshMesh16-Jul-05 2:09
MeshMesh16-Jul-05 2:09 
GeneralData Grid boolen colume Pin
webhay16-Jul-05 1:26
webhay16-Jul-05 1:26 
GeneralCreating a bool random value Pin
Blue_Skye16-Jul-05 0:57
Blue_Skye16-Jul-05 0:57 
GeneralRe: Creating a bool random value Pin
S. Senthil Kumar16-Jul-05 9:13
S. Senthil Kumar16-Jul-05 9:13 
If you look closely at the documentation for the Random class, you will see that it doesn't work when calls to Next are made in quick succession. That explains your debug vs non-debug behavior.

Instead of generating a random number between 0 and 2, wouldn't it be better if you generated random numbers (0 to size of int) and then converted them to binary? You can generate as many random numbers as you want until you get 200 binary digits.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Creating a bool random value Pin
Blue_Skye16-Jul-05 10:41
Blue_Skye16-Jul-05 10:41 
GeneralMath.Round function in VS.NET and round function in SQL Server 2000 Pin
Blue_Skye16-Jul-05 0:53
Blue_Skye16-Jul-05 0:53 
GeneralRe: Math.Round function in VS.NET and round function in SQL Server 2000 Pin
Rob Graham16-Jul-05 8:38
Rob Graham16-Jul-05 8:38 
GeneralRe: Math.Round function in VS.NET and round function in SQL Server 2000 Pin
Blue_Skye16-Jul-05 10:26
Blue_Skye16-Jul-05 10:26 
QuestionRemote Object with Singleton mode ?? Pin
Tee+16-Jul-05 0:26
Tee+16-Jul-05 0:26 
AnswerRe: Remote Object with Singleton mode ?? Pin
S. Senthil Kumar16-Jul-05 9:24
S. Senthil Kumar16-Jul-05 9:24 
Generalei need help Pin
Member 145978315-Jul-05 21:57
Member 145978315-Jul-05 21:57 
GeneralRe: ei need help Pin
Lord Kixdemp16-Jul-05 8:18
Lord Kixdemp16-Jul-05 8:18 
GeneralSQL SELECT statement syntax Pin
sea#15-Jul-05 21:32
sea#15-Jul-05 21:32 
GeneralRe: SQL SELECT statement syntax Pin
Dave Kreskowiak16-Jul-05 6:45
mveDave Kreskowiak16-Jul-05 6:45 
GeneralRe: SQL SELECT statement syntax Pin
sea#16-Jul-05 9:10
sea#16-Jul-05 9:10 
GeneralRe: SQL SELECT statement syntax Pin
Dave Kreskowiak16-Jul-05 15:49
mveDave Kreskowiak16-Jul-05 15:49 
GeneralRe: SQL SELECT statement syntax Pin
sea#17-Jul-05 6:02
sea#17-Jul-05 6:02 
Generalfind blue tooth lan connection from registry Pin
ksanju100015-Jul-05 21:18
ksanju100015-Jul-05 21:18 
QuestionHow do we know which rows got deleted in DataTable? Pin
rudy.net15-Jul-05 20:09
rudy.net15-Jul-05 20:09 
GeneralRe: DataGrid's row Color Change Pin
rudy.net15-Jul-05 20:16
rudy.net15-Jul-05 20:16 
GeneralRe: DataGrid's row Color Change Pin
rudy.net16-Jul-05 10:12
rudy.net16-Jul-05 10:12 

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.