Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to remove a character in Console Pin
PIEBALDconsult9-Oct-07 16:32
mvePIEBALDconsult9-Oct-07 16:32 
GeneralClass and attributes to serialize this XML Pin
Phil Martin9-Oct-07 13:19
professionalPhil Martin9-Oct-07 13:19 
GeneralRe: Class and attributes to serialize this XML Pin
N a v a n e e t h9-Oct-07 19:13
N a v a n e e t h9-Oct-07 19:13 
GeneralRe: Class and attributes to serialize this XML Pin
Phil Martin9-Oct-07 19:23
professionalPhil Martin9-Oct-07 19:23 
GeneralRe: Class and attributes to serialize this XML Pin
N a v a n e e t h9-Oct-07 20:01
N a v a n e e t h9-Oct-07 20:01 
GeneralRe: Class and attributes to serialize this XML Pin
Phil Martin9-Oct-07 20:29
professionalPhil Martin9-Oct-07 20:29 
GeneralRe: Class and attributes to serialize this XML Pin
N a v a n e e t h9-Oct-07 20:38
N a v a n e e t h9-Oct-07 20:38 
QuestionJob Interview Pin
MarkB7779-Oct-07 13:00
MarkB7779-Oct-07 13:00 
Hi everyone,

I had a job interview yesterday, and they asked me to solve this problem:

---
Given any number of words (ie. "I went driving in my car"), make a method that will return the words in reverse (ie. "car my in driving went I").

private string Swap(string input)
{

//insert code here.

}

---
They showed me there ruby on rails solution which they did with 2-3 lines.

100 points for anyone who can come up with a C# solution that competes with their ruby one. Wink | ;)

Cheers Mark.
AnswerRe: Job Interview Pin
Thomas Stockwell9-Oct-07 13:19
professionalThomas Stockwell9-Oct-07 13:19 
GeneralRe: Job Interview Pin
Christian Graus9-Oct-07 13:22
protectorChristian Graus9-Oct-07 13:22 
GeneralRe: Job Interview Pin
Colin Angus Mackay9-Oct-07 14:08
Colin Angus Mackay9-Oct-07 14:08 
GeneralRe: Job Interview Pin
Christian Graus9-Oct-07 18:21
protectorChristian Graus9-Oct-07 18:21 
GeneralRe: Job Interview Pin
Judah Gabriel Himango10-Oct-07 4:22
sponsorJudah Gabriel Himango10-Oct-07 4:22 
AnswerRe: Job Interview [modified] Pin
Luc Pattyn9-Oct-07 13:48
sitebuilderLuc Pattyn9-Oct-07 13:48 
GeneralRe: Job Interview Pin
MarkB7779-Oct-07 13:58
MarkB7779-Oct-07 13:58 
GeneralRe: Job Interview Pin
Luc Pattyn9-Oct-07 14:10
sitebuilderLuc Pattyn9-Oct-07 14:10 
GeneralRe: Job Interview Pin
Ravi Bhavnani9-Oct-07 18:09
professionalRavi Bhavnani9-Oct-07 18:09 
GeneralRe: Job Interview Pin
Luc Pattyn10-Oct-07 2:14
sitebuilderLuc Pattyn10-Oct-07 2:14 
GeneralRe: Job Interview Pin
Anthony Mushrow9-Oct-07 15:03
professionalAnthony Mushrow9-Oct-07 15:03 
AnswerRe: Job Interview Pin
Judah Gabriel Himango9-Oct-07 16:21
sponsorJudah Gabriel Himango9-Oct-07 16:21 
Questionisolating a lib Pin
assmax9-Oct-07 11:55
assmax9-Oct-07 11:55 
QuestionGetting a PropertyGrid to display a value in Hex Pin
melchizedek9-Oct-07 11:04
melchizedek9-Oct-07 11:04 
AnswerRe: Getting a PropertyGrid to display a value in Hex Pin
pmarfleet9-Oct-07 11:38
pmarfleet9-Oct-07 11:38 
GeneralRe: Getting a PropertyGrid to display a value in Hex Pin
visualhint9-Oct-07 14:38
visualhint9-Oct-07 14:38 
GeneralRe: Getting a PropertyGrid to display a value in Hex Pin
melchizedek10-Oct-07 2:18
melchizedek10-Oct-07 2:18 

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.