Click here to Skip to main content
15,915,501 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting Months into years. Pin
Christian Graus20-Feb-07 14:36
protectorChristian Graus20-Feb-07 14:36 
GeneralRe: Converting Months into years. Pin
Skanless20-Feb-07 16:00
Skanless20-Feb-07 16:00 
GeneralRe: Converting Months into years. Pin
Skanless21-Feb-07 5:21
Skanless21-Feb-07 5:21 
QuestionRe: Converting Months into years. Pin
Pratik Vasant Shah20-Feb-07 21:56
Pratik Vasant Shah20-Feb-07 21:56 
AnswerRe: Converting Months into years. Pin
Skanless21-Feb-07 5:20
Skanless21-Feb-07 5:20 
AnswerRe: Converting Months into years -This solved the issue. Pin
Skanless21-Feb-07 10:22
Skanless21-Feb-07 10:22 
QuestionReplace one character for another in a string Pin
kani9820-Feb-07 14:03
kani9820-Feb-07 14:03 
AnswerRe: Replace one character for another in a string Pin
Dave Kreskowiak20-Feb-07 14:06
mveDave Kreskowiak20-Feb-07 14:06 
Strings are immutable in the .NET Framework. Once created, they cannot be changed. How did you use the Replace method? Without seeing your code, it's impossible to tell you, with any certainty, what went wrong.

But, the Replace method returns a new string object. It can NOT modify the current string:
string newString = oldString.Replace(@"-", @"_");



Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Replace one character for another in a string Pin
kani9820-Feb-07 14:17
kani9820-Feb-07 14:17 
GeneralRe: Replace one character for another in a string Pin
Christian Graus20-Feb-07 14:38
protectorChristian Graus20-Feb-07 14:38 
QuestionDesigner Customization challenge... Pin
@FrankDrebin@20-Feb-07 13:25
@FrankDrebin@20-Feb-07 13:25 
QuestionIntercepting Output from another application Pin
shatterstar645720-Feb-07 13:18
shatterstar645720-Feb-07 13:18 
AnswerRe: Intercepting Output from another application Pin
mike montagne20-Feb-07 13:21
mike montagne20-Feb-07 13:21 
AnswerRe: Intercepting Output from another application Pin
Dave Kreskowiak20-Feb-07 13:36
mveDave Kreskowiak20-Feb-07 13:36 
GeneralRe: Intercepting Output from another application Pin
shatterstar645720-Feb-07 18:19
shatterstar645720-Feb-07 18:19 
GeneralRe: Intercepting Output from another application Pin
Dave Kreskowiak21-Feb-07 4:25
mveDave Kreskowiak21-Feb-07 4:25 
Questiondetect a color using C++ Pin
ricardo montemayor20-Feb-07 13:03
ricardo montemayor20-Feb-07 13:03 
AnswerRe: detect a color using C++ Pin
Dave Kreskowiak20-Feb-07 13:14
mveDave Kreskowiak20-Feb-07 13:14 
GeneralRe: detect a color using C++ Pin
ricardo montemayor20-Feb-07 14:14
ricardo montemayor20-Feb-07 14:14 
GeneralRe: detect a color using C++ Pin
Christian Graus20-Feb-07 17:18
protectorChristian Graus20-Feb-07 17:18 
QuestionConverting Array int[] to List Pin
srivatsan2420-Feb-07 12:48
srivatsan2420-Feb-07 12:48 
AnswerRe: Converting Array int[] to List Pin
tgrt20-Feb-07 12:52
tgrt20-Feb-07 12:52 
AnswerRe: Converting Array int[] to List Pin
Judah Gabriel Himango20-Feb-07 12:57
sponsorJudah Gabriel Himango20-Feb-07 12:57 
GeneralRe: Converting Array int[] to List Pin
srivatsan2420-Feb-07 14:01
srivatsan2420-Feb-07 14:01 
AnswerRe: Converting Array int[] to List Pin
srivatsan2421-Feb-07 3:56
srivatsan2421-Feb-07 3:56 

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.