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

C#

 
AnswerRe: Invalid Argument in For Loop Pin
OriginalGriff2-Mar-14 22:49
mveOriginalGriff2-Mar-14 22:49 
GeneralRe: Invalid Argument in For Loop Pin
computerpublic3-Mar-14 3:52
computerpublic3-Mar-14 3:52 
GeneralRe: Invalid Argument in For Loop Pin
OriginalGriff3-Mar-14 4:30
mveOriginalGriff3-Mar-14 4:30 
AnswerRe: Invalid Argument in For Loop Pin
Richard MacCutchan2-Mar-14 22:54
mveRichard MacCutchan2-Mar-14 22:54 
GeneralRe: Invalid Argument in For Loop Pin
computerpublic3-Mar-14 3:53
computerpublic3-Mar-14 3:53 
GeneralRe: Invalid Argument in For Loop Pin
Richard MacCutchan3-Mar-14 4:11
mveRichard MacCutchan3-Mar-14 4:11 
GeneralRe: Invalid Argument in For Loop Pin
computerpublic3-Mar-14 4:16
computerpublic3-Mar-14 4:16 
GeneralRe: Invalid Argument in For Loop Pin
Richard MacCutchan3-Mar-14 4:22
mveRichard MacCutchan3-Mar-14 4:22 
No, you should just be testing the specific bit:
C#
if (!bits[count])
// OR
if (bits[count] == false)

However, having looked more closely at your code I am at a loss to understand what the program is supposed to do. In particular why you are reading those files and why you are writing new copies of them, or what any of that has to do with your for loops.
GeneralRe: Invalid Argument in For Loop Pin
computerpublic3-Mar-14 7:39
computerpublic3-Mar-14 7:39 
GeneralRe: Invalid Argument in For Loop Pin
Richard MacCutchan3-Mar-14 21:59
mveRichard MacCutchan3-Mar-14 21:59 
GeneralRe: Invalid Argument in For Loop Pin
computerpublic4-Mar-14 3:55
computerpublic4-Mar-14 3:55 
GeneralRe: Invalid Argument in For Loop Pin
Richard MacCutchan4-Mar-14 5:25
mveRichard MacCutchan4-Mar-14 5:25 
Generalapplication icons??? Pin
Member 106142622-Mar-14 1:56
Member 106142622-Mar-14 1:56 
GeneralRe: application icons??? Pin
Pete O'Hanlon2-Mar-14 2:08
mvePete O'Hanlon2-Mar-14 2:08 
JokeRe: application icons??? Pin
dan!sh 2-Mar-14 23:45
professional dan!sh 2-Mar-14 23:45 
GeneralRe: application icons??? Pin
Ravi Bhavnani2-Mar-14 5:57
professionalRavi Bhavnani2-Mar-14 5:57 
GeneralRe: application icons??? Pin
Bernhard Hiller2-Mar-14 23:52
Bernhard Hiller2-Mar-14 23:52 
QuestionHow i can redirect URLs entered in the browser with C#? Pin
Amin Soltani1-Mar-14 22:56
Amin Soltani1-Mar-14 22:56 
AnswerRe: How i can redirect URLs entered in the browser with C#? Pin
OriginalGriff1-Mar-14 23:36
mveOriginalGriff1-Mar-14 23:36 
JokeRe: How i can redirect URLs entered in the browser with C#? Pin
Richard Andrew x643-Mar-14 9:44
professionalRichard Andrew x643-Mar-14 9:44 
AnswerRe: How i can redirect URLs entered in the browser with C#? Pin
Ravi Bhavnani2-Mar-14 5:59
professionalRavi Bhavnani2-Mar-14 5:59 
AnswerRe: How i can redirect URLs entered in the browser with C#? Pin
Eddy Vluggen2-Mar-14 7:19
professionalEddy Vluggen2-Mar-14 7:19 
AnswerRe: How i can redirect URLs entered in the browser with C#? Pin
Eddy Vluggen2-Mar-14 7:23
professionalEddy Vluggen2-Mar-14 7:23 
Questionfacial expression recognition Pin
Member 95388301-Mar-14 12:31
Member 95388301-Mar-14 12:31 
AnswerRe: facial expression recognition Pin
Richard MacCutchan1-Mar-14 21:05
mveRichard MacCutchan1-Mar-14 21:05 

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.