Click here to Skip to main content
15,904,655 members
Home / Discussions / C#
   

C#

 
GeneralRe: getting the tip message for method during design time Pin
musefan30-Jan-09 3:47
musefan30-Jan-09 3:47 
GeneralRe: getting the tip message for method during design time Pin
Ennis Ray Lynch, Jr.30-Jan-09 3:54
Ennis Ray Lynch, Jr.30-Jan-09 3:54 
GeneralRe: getting the tip message for method during design time Pin
PIEBALDconsult30-Jan-09 6:50
mvePIEBALDconsult30-Jan-09 6:50 
GeneralRe: getting the tip message for method during design time Pin
Pete O'Hanlon30-Jan-09 4:45
mvePete O'Hanlon30-Jan-09 4:45 
GeneralRe: getting the tip message for method during design time Pin
DaveyM6930-Jan-09 9:19
professionalDaveyM6930-Jan-09 9:19 
GeneralRe: getting the tip message for method during design time Pin
Najmal31-Jan-09 4:18
Najmal31-Jan-09 4:18 
Questioncomplicated string Pin
bfis10813730-Jan-09 3:18
bfis10813730-Jan-09 3:18 
AnswerRe: complicated string Pin
#realJSOP30-Jan-09 3:24
professional#realJSOP30-Jan-09 3:24 
Ignoring the fact that you haven't mentioned any details regarding how the string is to be processed (do you want to select specific parts of it?), I assume that the "certain point" that you want to skip would be likely to be different from string to string, so...

You could create an object that accepts a string in the constructor call, and then implement an override of the ToString() method that accepts an enum (again, one that you define) that can change the way the string is processed.

Or you could simply write a method that processes the string according to the enum value passed as a parameter.

It's almost impossible to provide relevant advice with so little to go on.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: complicated string Pin
bfis10813730-Jan-09 3:36
bfis10813730-Jan-09 3:36 
GeneralRe: complicated string Pin
Ben Fair30-Jan-09 3:40
Ben Fair30-Jan-09 3:40 
GeneralRe: complicated string Pin
SeMartens30-Jan-09 3:48
SeMartens30-Jan-09 3:48 
GeneralRe: complicated string Pin
#realJSOP30-Jan-09 4:01
professional#realJSOP30-Jan-09 4:01 
GeneralRe: complicated string Pin
Najmal31-Jan-09 4:29
Najmal31-Jan-09 4:29 
Question2 dimensional array of objects Pin
dwolver30-Jan-09 3:12
dwolver30-Jan-09 3:12 
QuestionRe: 2 dimensional array of objects Pin
Eddy Vluggen30-Jan-09 3:20
professionalEddy Vluggen30-Jan-09 3:20 
AnswerRe: 2 dimensional array of objects Pin
musefan30-Jan-09 3:23
musefan30-Jan-09 3:23 
GeneralRe: 2 dimensional array of objects [modified] Pin
musefan30-Jan-09 3:25
musefan30-Jan-09 3:25 
GeneralRe: 2 dimensional array of objects Pin
dwolver30-Jan-09 3:38
dwolver30-Jan-09 3:38 
AnswerRe: 2 dimensional array of objects Pin
#realJSOP30-Jan-09 3:25
professional#realJSOP30-Jan-09 3:25 
GeneralRe: 2 dimensional array of objects Pin
dwolver30-Jan-09 3:40
dwolver30-Jan-09 3:40 
GeneralRe: 2 dimensional array of objects Pin
#realJSOP30-Jan-09 4:02
professional#realJSOP30-Jan-09 4:02 
GeneralRe: 2 dimensional array of objects Pin
Najmal31-Jan-09 4:33
Najmal31-Jan-09 4:33 
QuestionStarting Robocopy From A Service Pin
rich_wenger30-Jan-09 2:37
rich_wenger30-Jan-09 2:37 
AnswerRe: Starting Robocopy From A Service Pin
musefan30-Jan-09 2:50
musefan30-Jan-09 2:50 
GeneralRe: Starting Robocopy From A Service Pin
rich_wenger30-Jan-09 3:47
rich_wenger30-Jan-09 3:47 

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.