Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: vsts 2008 unit testing Pin
BabyOreo28-Apr-09 17:35
BabyOreo28-Apr-09 17:35 
QuestionMachineKey configuration + Password recovery Pin
bonkers12322-Apr-09 22:38
bonkers12322-Apr-09 22:38 
AnswerRe: MachineKey configuration + Password recovery Pin
bonkers12322-Apr-09 23:32
bonkers12322-Apr-09 23:32 
Question[Message Deleted] Pin
mostafatajamolian22-Apr-09 22:36
mostafatajamolian22-Apr-09 22:36 
AnswerRe: replace text Pin
Eddy Vluggen22-Apr-09 22:47
professionalEddy Vluggen22-Apr-09 22:47 
AnswerRe: replace text Pin
Rob Philpott22-Apr-09 22:48
Rob Philpott22-Apr-09 22:48 
AnswerRe: replace text Pin
musefan22-Apr-09 23:33
musefan22-Apr-09 23:33 
AnswerRe: replace text Pin
OriginalGriff23-Apr-09 2:06
mveOriginalGriff23-Apr-09 2:06 
You sarcastic bunch!
This is a really difficult problem (if you have no experience and your IQ is smaller than your shoe size) so give the chap a break.
Just because it would take us less than a minute to complete (or two if we did it manually, rather than use built in members) doesn't mean we should take the piss out of really lazy students who want us to do thier homework for free.

So, the complete solution:
string s = "abokf.okhj.jkoklk.";
string startString = "ok";
string endString = ".";
string replacementString = "D";
while (ReplaceAllIncidencesOfDataDelimitedByTwoStringsWithAnotherStringForReallyLazyStudentsWithNoIdeaNoExperienceAndAnIQSmallerThanTheirShoeSize(ref s, startString, endString, replacementString))
   {
   }
Console.Writeline(s);


Obviously, you will need the method "ReplaceAllIncidencesOfDataDelimitedByTwoStringsWithAnotherStringForReallyLazyStudentsWithNoIdeaNoExperienceAndAnIQSmallerThanTheirShoeSize" and it is here, with all the others:
http://PleaseDoMyHomeworkForMe.com/ComputerProjects/UnbelievablySimple/Index.html

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced
GeneralRe: replace text Pin
Eddy Vluggen23-Apr-09 6:19
professionalEddy Vluggen23-Apr-09 6:19 
JokeRe: replace text Pin
Guffa23-Apr-09 6:33
Guffa23-Apr-09 6:33 
GeneralRe: replace text Pin
OriginalGriff23-Apr-09 8:13
mveOriginalGriff23-Apr-09 8:13 
QuestionReading Data from Excel spreadsheet, unusual problem Pin
Member 436780422-Apr-09 22:15
Member 436780422-Apr-09 22:15 
AnswerRe: Reading Data from Excel spreadsheet, unusual problem Pin
Mycroft Holmes22-Apr-09 22:31
professionalMycroft Holmes22-Apr-09 22:31 
AnswerRe: Reading Data from Excel spreadsheet, unusual problem Pin
Natza Mitzi22-Apr-09 23:19
Natza Mitzi22-Apr-09 23:19 
Questionwhat does this error mean Pin
benson.misi22-Apr-09 21:45
benson.misi22-Apr-09 21:45 
AnswerRe: what does this error mean Pin
DoctorMick22-Apr-09 22:00
DoctorMick22-Apr-09 22:00 
AnswerRe: what does this error mean Pin
Nagy Vilmos22-Apr-09 22:19
professionalNagy Vilmos22-Apr-09 22:19 
AnswerRe: what does this error mean Pin
Mbah Dhaim22-Apr-09 22:22
Mbah Dhaim22-Apr-09 22:22 
AnswerRe: what does this error mean Pin
Christian Graus22-Apr-09 23:10
protectorChristian Graus22-Apr-09 23:10 
AnswerRe: what does this error mean Pin
Michael Bookatz22-Apr-09 23:34
Michael Bookatz22-Apr-09 23:34 
AnswerRe: what does this error mean Pin
Pete O'Hanlon23-Apr-09 0:29
mvePete O'Hanlon23-Apr-09 0:29 
AnswerRe: what does this error mean Pin
0x3c023-Apr-09 0:41
0x3c023-Apr-09 0:41 
Question[Message Deleted] Pin
hkjghkj122-Apr-09 21:00
hkjghkj122-Apr-09 21:00 
AnswerRe: string array into one line string Pin
Pauwels Bart22-Apr-09 21:06
Pauwels Bart22-Apr-09 21:06 
AnswerRe: string array into one line string Pin
Thomas Krojer22-Apr-09 21:16
Thomas Krojer22-Apr-09 21:16 

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.