Click here to Skip to main content
       

C#

 
GeneralRe: Searching for a file in multiple directories? PinmemberGoaty6510910-Mar-13 2:03 
GeneralRe: Searching for a file in multiple directories? PinmvpOriginalGriff10-Mar-13 2:12 
GeneralRe: Searching for a file in multiple directories? PinmemberGoaty6510910-Mar-13 2:16 
GeneralRe: Searching for a file in multiple directories? PinmvpOriginalGriff10-Mar-13 2:23 
QuestionSuggestions: textbox background and foreground colours. PinmemberPHS2419-Mar-13 11:58 
AnswerRe: Suggestions: textbox background and foreground colours. PinmemberRavi Bhavnani9-Mar-13 14:01 
GeneralRe: Suggestions: textbox background and foreground colours. PinmemberPHS24110-Mar-13 0:02 
QuestionIf statement PinmemberSottyoru9-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 PinmemberPIEBALDconsult9-Mar-13 8:58 
AnswerRe: If statement Pinmemberdusty_dex9-Mar-13 11:29 
GeneralRe: If statement PinmemberPIEBALDconsult9-Mar-13 11:57 
GeneralRe: If statement Pinmemberdusty_dex10-Mar-13 7:05 
AnswerRe: If statement [modified] Pinmembersource.compiler10-Mar-13 1:10 
GeneralRe: If statement Pinmemberjschell10-Mar-13 7:19 
GeneralRe: If statement Pinmembersource.compiler10-Mar-13 7:23 
QuestionAbout Regex PinmemberSottyoru9-Mar-13 5:50 
AnswerRe: About Regex PinmemberPIEBALDconsult9-Mar-13 6:09 
GeneralRe: About Regex PinmemberSottyoru9-Mar-13 8:08 
AnswerRe: About Regex PinmemberRavi Bhavnani9-Mar-13 14:05 
QuestionSuggssion Please PinmemberM VSubrahmanyam9-Mar-13 4:42 
AnswerRe: Suggssion Please PinmvpOriginalGriff9-Mar-13 4:59 
GeneralRe: Suggssion Please PinmemberThePhantomUpvoter9-Mar-13 10:09 
GeneralRe: Suggssion Please Pinmemberfrazzle-me9-Mar-13 10:12 
GeneralRe: Suggssion Please PinmemberPIEBALDconsult9-Mar-13 5:42 
AnswerRe: Suggssion Please PinmvpAbhinav 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.141216.1 | Last Updated 17 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid