Click here to Skip to main content
10,500,000 members (74,493 online)
   

C#

 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty6510910-Mar-13 2:03
memberGoaty6510910-Mar-13 2:03 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff10-Mar-13 2:12
mvpOriginalGriff10-Mar-13 2:12 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty6510910-Mar-13 2:16
memberGoaty6510910-Mar-13 2:16 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff10-Mar-13 2:23
mvpOriginalGriff10-Mar-13 2:23 
QuestionSuggestions: textbox background and foreground colours. Pin
PHS2419-Mar-13 11:58
memberPHS2419-Mar-13 11:58 
AnswerRe: Suggestions: textbox background and foreground colours. Pin
Ravi Bhavnani9-Mar-13 14:01
memberRavi Bhavnani9-Mar-13 14:01 
GeneralRe: Suggestions: textbox background and foreground colours. Pin
PHS24110-Mar-13 0:02
memberPHS24110-Mar-13 0:02 
QuestionIf statement Pin
Sottyoru9-Mar-13 8:07
memberSottyoru9-Mar-13 8:07 
Hello,

I have couple of question about if statement.

When I create password verifying program,

at least 8 characters long is
if (password.Length < 8)
valid = false;

like this, right?

Then, how can I make program that must contain at least one digit and one uppercase for the password.

Then, I tried to create
while (valid && i < 1)
{
if (!Char.IsLetter(custID[i]))
valid = false;
i++;
}
like this, but it's not working.

Please tell me.
AnswerRe: If statement Pin
PIEBALDconsult9-Mar-13 8:58
memberPIEBALDconsult9-Mar-13 8:58 
AnswerRe: If statement Pin
dusty_dex9-Mar-13 11:29
memberdusty_dex9-Mar-13 11:29 
GeneralRe: If statement Pin
PIEBALDconsult9-Mar-13 11:57
memberPIEBALDconsult9-Mar-13 11:57 
GeneralRe: If statement Pin
dusty_dex10-Mar-13 7:05
memberdusty_dex10-Mar-13 7:05 
AnswerRe: If statement [modified] Pin
source.compiler10-Mar-13 1:10
membersource.compiler10-Mar-13 1:10 
GeneralRe: If statement Pin
jschell10-Mar-13 7:19
memberjschell10-Mar-13 7:19 
GeneralRe: If statement Pin
source.compiler10-Mar-13 7:23
membersource.compiler10-Mar-13 7:23 
QuestionAbout Regex Pin
Sottyoru9-Mar-13 5:50
memberSottyoru9-Mar-13 5:50 
AnswerRe: About Regex Pin
PIEBALDconsult9-Mar-13 6:09
memberPIEBALDconsult9-Mar-13 6:09 
GeneralRe: About Regex Pin
Sottyoru9-Mar-13 8:08
memberSottyoru9-Mar-13 8:08 
AnswerRe: About Regex Pin
Ravi Bhavnani9-Mar-13 14:05
memberRavi Bhavnani9-Mar-13 14:05 
QuestionSuggssion Please Pin
M VSubrahmanyam9-Mar-13 4:42
memberM VSubrahmanyam9-Mar-13 4:42 
AnswerRe: Suggssion Please Pin
OriginalGriff9-Mar-13 4:59
mvpOriginalGriff9-Mar-13 4:59 
GeneralRe: Suggssion Please Pin
ThePhantomUpvoter9-Mar-13 10:09
memberThePhantomUpvoter9-Mar-13 10:09 
GeneralRe: Suggssion Please Pin
frazzle-me9-Mar-13 10:12
memberfrazzle-me9-Mar-13 10:12 
GeneralRe: Suggssion Please Pin
PIEBALDconsult9-Mar-13 5:42
memberPIEBALDconsult9-Mar-13 5:42 
AnswerRe: Suggssion Please Pin
Abhinav S9-Mar-13 23:38
mvpAbhinav S9-Mar-13 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 26 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid