Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
AnswerCrosspost Pin
Dave Kreskowiak6-Mar-09 4:19
mveDave Kreskowiak6-Mar-09 4:19 
Questionhow to convert a string (D10 : E 20) to a range object? Pin
abhiram_nayan5-Mar-09 22:29
abhiram_nayan5-Mar-09 22:29 
AnswerRe: how to convert a string (D10 : E 20) to a range object? Pin
abhiram_nayan5-Mar-09 22:54
abhiram_nayan5-Mar-09 22:54 
Questionreverse a string Pin
divya.simma5-Mar-09 22:15
divya.simma5-Mar-09 22:15 
AnswerRe: reverse a string Pin
N a v a n e e t h5-Mar-09 22:20
N a v a n e e t h5-Mar-09 22:20 
AnswerRe: reverse a string Pin
Mirko19805-Mar-09 22:25
Mirko19805-Mar-09 22:25 
AnswerRe: reverse a string Pin
Cracked-Down5-Mar-09 23:47
Cracked-Down5-Mar-09 23:47 
AnswerRe: reverse a string Pin
musefan6-Mar-09 2:56
musefan6-Mar-09 2:56 
First, put your foot down on the clutch.
Second, put it into reverese gear.
Third, slightly press down on the accelerator and bring the clutch up till it starts to reverse (aplly more accelartion as needed)... easy Smile | :)

...OH, String - sorry i thought you said car... though technically you didnt speak at all... you not still reading are you?... though why am i still talking (i mean writting) complete rubbish?!?!? TGIF Big Grin | :-D


(On a serious note though (as found hidden between D# and E(well perhaps 90% serious :P)) <- i hate it when that happens lol

If you are doing a homework assignment of some sort may i suggest you comment out any code you have taken from the other posts (still keep thou for proof of concept) and write something like as follows - its all about the theory really.


public string MyReverseFunction(string s)
{
string result = "";
for(int i = s.Length-1; i >= 0; i--)
   result += s[i];
return result;
} 


Oh and make a note that it is prob best to use a StringBuilder to help with performance on large strings

If only MySelf.Visible was more than just a getter...

A person can produce over 5 times there own body weight in excrement each year... please re-read your questions before posting

QuestionHow to protect some classes? [modified] Pin
softwarejaeger5-Mar-09 21:48
softwarejaeger5-Mar-09 21:48 
AnswerRe: How to protect some classes? Pin
Dragonfly_Lee5-Mar-09 21:58
Dragonfly_Lee5-Mar-09 21:58 
AnswerRe: How to protect some classes? Pin
ABitSmart5-Mar-09 21:58
ABitSmart5-Mar-09 21:58 
AnswerRe: How to protect some classes? Pin
Vikram A Punathambekar5-Mar-09 23:05
Vikram A Punathambekar5-Mar-09 23:05 
QuestionConvert sexagesimal to decimal Pin
rumpelstielz5-Mar-09 21:44
rumpelstielz5-Mar-09 21:44 
AnswerRe: Convert sexagesimal to decimal Pin
Dragonfly_Lee5-Mar-09 22:03
Dragonfly_Lee5-Mar-09 22:03 
GeneralRe: Convert sexagesimal to decimal Pin
rumpelstielz5-Mar-09 22:13
rumpelstielz5-Mar-09 22:13 
GeneralRe: Convert sexagesimal to decimal Pin
Ravadre6-Mar-09 1:04
Ravadre6-Mar-09 1:04 
Questionhow can i know whether an optional parameter is passed or not? Pin
abhiram_nayan5-Mar-09 20:52
abhiram_nayan5-Mar-09 20:52 
AnswerRe: how can i know whether an optional parameter is passed or not? Pin
N a v a n e e t h5-Mar-09 21:01
N a v a n e e t h5-Mar-09 21:01 
GeneralRe: how can i know whether an optional parameter is passed or not? Pin
abhiram_nayan5-Mar-09 21:50
abhiram_nayan5-Mar-09 21:50 
GeneralRe: how can i know whether an optional parameter is passed or not? Pin
Tom Deketelaere5-Mar-09 21:54
professionalTom Deketelaere5-Mar-09 21:54 
NewsRe: how can i know whether an optional parameter is passed or not? Pin
abhiram_nayan5-Mar-09 22:05
abhiram_nayan5-Mar-09 22:05 
GeneralRe: how can i know whether an optional parameter is passed or not? Pin
User 66585-Mar-09 23:43
User 66585-Mar-09 23:43 
GeneralRe: how can i know whether an optional parameter is passed or not? Pin
naresh_prakash6-Mar-09 0:19
naresh_prakash6-Mar-09 0:19 
GeneralRe: how can i know whether an optional parameter is passed or not? Pin
User 66586-Mar-09 0:26
User 66586-Mar-09 0:26 
GeneralRe: how can i know whether an optional parameter is passed or not? Pin
Dragonfly_Lee5-Mar-09 22:15
Dragonfly_Lee5-Mar-09 22:15 

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.