Click here to Skip to main content
15,886,052 members
Home / Discussions / C#
   

C#

 
AnswerRe: If statement Pin
PIEBALDconsult9-Mar-13 7:58
mvePIEBALDconsult9-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
mvePIEBALDconsult9-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 
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 5:09
mvePIEBALDconsult9-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 PinPopular
OriginalGriff9-Mar-13 3:59
mveOriginalGriff9-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
mvePIEBALDconsult9-Mar-13 4:42 
AnswerRe: Suggssion Please Pin
Abhinav S9-Mar-13 22:38
Abhinav S9-Mar-13 22:38 
Questionmanage clients Pin
karimi55559-Mar-13 3:07
karimi55559-Mar-13 3:07 
AnswerRe: manage clients Pin
Dave Kreskowiak9-Mar-13 3:22
mveDave Kreskowiak9-Mar-13 3:22 
GeneralRe: manage clients Pin
karimi55559-Mar-13 5:46
karimi55559-Mar-13 5:46 
GeneralRe: manage clients Pin
Dave Kreskowiak9-Mar-13 7:58
mveDave Kreskowiak9-Mar-13 7:58 
GeneralRe: manage clients Pin
karimi55559-Mar-13 8:48
karimi55559-Mar-13 8:48 
QuestionMake richTextBox non-editable in Silverlight Pin
vijendra589-Mar-13 0:29
vijendra589-Mar-13 0:29 
AnswerRe: Make richTextBox non-editable in Silverlight Pin
Eddy Vluggen9-Mar-13 1:32
professionalEddy Vluggen9-Mar-13 1:32 
QuestionTreeView-based custom control Pin
alex__b8-Mar-13 18:52
professionalalex__b8-Mar-13 18:52 

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.