Click here to Skip to main content
12,630,386 members (29,258 online)
   

C#

 
AnswerRe: If statement 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 
1. Sentence Capitalizer

Write a method that accepts a string object as an argument and returns a copy of the string with the first character of each sentence capitalized. For instance, if the argument id “hello, my name is Joe. what is your name?” the method should return the string “Hello. My name is Joe. What is your name?” Write a test program that will exercise this method (and display the result on the monitor.)

2. Password verifier

Imagine you are developing a software package that requires a user to enter his/her passwords. Your software requires that the user’s password meets the following criteria.

a. It should be at least 8 characters long
b. It should contain at least one uppercase and at least one lowercase letter
c. It should have at least one digit.

Write a method that verifies that a password meets the stated criteria. Write a test program to exercise these.

----------------------------------------------------
Hello,
I am asking you about creating C# program.
These two program to create are so complicated for me.
I was trying to figure them out for 2 weeks, but it's still not.

Teacher told me both program are used by "Regex" (Regular Expression) if possible.
Could you give me suggestion or a part of the program or how to do it?

Thank you.
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 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161205.3 | Last Updated 7 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid