Click here to Skip to main content
15,611,179 members
Home / Discussions / C#
   

C#

 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty6510910-Mar-13 1:03
Goaty6510910-Mar-13 1:03 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff10-Mar-13 1:12
mvaOriginalGriff10-Mar-13 1:12 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty6510910-Mar-13 1:16
Goaty6510910-Mar-13 1:16 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff10-Mar-13 1:23
mvaOriginalGriff10-Mar-13 1:23 
QuestionSuggestions: textbox background and foreground colours. Pin
Septimus Hedgehog9-Mar-13 10:58
Septimus Hedgehog9-Mar-13 10:58 
AnswerRe: Suggestions: textbox background and foreground colours. Pin
Ravi Bhavnani9-Mar-13 13:01
professionalRavi Bhavnani9-Mar-13 13:01 
GeneralRe: Suggestions: textbox background and foreground colours. Pin
Septimus Hedgehog9-Mar-13 23:02
Septimus Hedgehog9-Mar-13 23:02 
QuestionIf statement Pin
Sottyoru9-Mar-13 7:07
Sottyoru9-Mar-13 7: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 7:58
professionalPIEBALDconsult9-Mar-13 7:58 
AnswerRe: If statement Pin
dusty_dex9-Mar-13 10:29
dusty_dex9-Mar-13 10:29 
GeneralRe: If statement Pin
PIEBALDconsult9-Mar-13 10:57
professionalPIEBALDconsult9-Mar-13 10:57 
GeneralRe: If statement Pin
dusty_dex10-Mar-13 6:05
dusty_dex10-Mar-13 6:05 
AnswerRe: If statement Pin
ali_heidari_10-Mar-13 0:10
ali_heidari_10-Mar-13 0:10 
GeneralRe: If statement Pin
jschell10-Mar-13 6:19
jschell10-Mar-13 6:19 
GeneralRe: If statement Pin
ali_heidari_10-Mar-13 6:23
ali_heidari_10-Mar-13 6:23 
QuestionAbout Regex Pin
Sottyoru9-Mar-13 4:50
Sottyoru9-Mar-13 4:50 
AnswerRe: About Regex Pin
PIEBALDconsult9-Mar-13 5:09
professionalPIEBALDconsult9-Mar-13 5:09 
GeneralRe: About Regex Pin
Sottyoru9-Mar-13 7:08
Sottyoru9-Mar-13 7:08 
AnswerRe: About Regex Pin
Ravi Bhavnani9-Mar-13 13:05
professionalRavi Bhavnani9-Mar-13 13:05 
QuestionSuggssion Please Pin
M VSubrahmanyam9-Mar-13 3:42
M VSubrahmanyam9-Mar-13 3:42 
AnswerRe: Suggssion Please Pin
OriginalGriff9-Mar-13 3:59
mvaOriginalGriff9-Mar-13 3:59 
GeneralRe: Suggssion Please Pin
NotPolitcallyCorrect9-Mar-13 9:09
NotPolitcallyCorrect9-Mar-13 9:09 
GeneralRe: Suggssion Please Pin
David C# Hobbyist.9-Mar-13 9:12
professionalDavid C# Hobbyist.9-Mar-13 9:12 
GeneralRe: Suggssion Please Pin
PIEBALDconsult9-Mar-13 4:42
professionalPIEBALDconsult9-Mar-13 4:42 
AnswerRe: Suggssion Please Pin
Abhinav S9-Mar-13 22:38
Abhinav S9-Mar-13 22:38 

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.