Click here to Skip to main content
15,918,193 members
Home / Discussions / C#
   

C#

 
QuestionWhich string is more preferred Pin
humayunlalzad8-Jan-09 4:09
humayunlalzad8-Jan-09 4:09 
AnswerRe: Which string is more preferred Pin
dan!sh 8-Jan-09 4:18
professional dan!sh 8-Jan-09 4:18 
GeneralRe: Which string is more preferred Pin
humayunlalzad8-Jan-09 5:16
humayunlalzad8-Jan-09 5:16 
AnswerRe: Which string is more preferred Pin
Guffa8-Jan-09 4:22
Guffa8-Jan-09 4:22 
AnswerRe: Which string is more preferred Pin
J4amieC8-Jan-09 4:27
J4amieC8-Jan-09 4:27 
GeneralRe: Which string is more preferred Pin
Not Active8-Jan-09 4:31
mentorNot Active8-Jan-09 4:31 
GeneralRe: Which string is more preferred Pin
J4amieC8-Jan-09 5:07
J4amieC8-Jan-09 5:07 
GeneralRe: Which string is more preferred Pin
Not Active8-Jan-09 5:22
mentorNot Active8-Jan-09 5:22 
I would disagree, its a matter of preference. I see nothing wrong with something like "Some string: " + x, depending on the circumstance it is being used in.

As Guffa points out there may be some boxing that is occurring with StringBuilder and Format which could be avoided.


only two letters away from being an asset

GeneralRe: Which string is more preferred Pin
J4amieC8-Jan-09 5:34
J4amieC8-Jan-09 5:34 
GeneralRe: Which string is more preferred Pin
Guffa8-Jan-09 7:34
Guffa8-Jan-09 7:34 
GeneralRe: Which string is more preferred Pin
Jon Rista8-Jan-09 6:26
Jon Rista8-Jan-09 6:26 
GeneralRe: Which string is more preferred Pin
humayunlalzad8-Jan-09 5:23
humayunlalzad8-Jan-09 5:23 
GeneralRe: Which string is more preferred Pin
J4amieC8-Jan-09 5:32
J4amieC8-Jan-09 5:32 
GeneralRe: Which string is more preferred Pin
Guffa8-Jan-09 6:45
Guffa8-Jan-09 6:45 
GeneralRe: Which string is more preferred Pin
Guffa8-Jan-09 5:41
Guffa8-Jan-09 5:41 
GeneralRe: Which string is more preferred Pin
Jon Rista8-Jan-09 6:20
Jon Rista8-Jan-09 6:20 
GeneralRe: Which string is more preferred Pin
Jon Rista8-Jan-09 6:37
Jon Rista8-Jan-09 6:37 
AnswerRe: Which string is more preferred Pin
PIEBALDconsult8-Jan-09 12:29
mvePIEBALDconsult8-Jan-09 12:29 
QuestionCreating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:35
professional dan!sh 8-Jan-09 3:35 
AnswerRe: Creating Excel chart using reflection Pin
moon_stick8-Jan-09 3:41
moon_stick8-Jan-09 3:41 
GeneralRe: Creating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:44
professional dan!sh 8-Jan-09 3:44 
GeneralRe: Creating Excel chart using reflection Pin
moon_stick8-Jan-09 3:46
moon_stick8-Jan-09 3:46 
GeneralRe: Creating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:54
professional dan!sh 8-Jan-09 3:54 
AnswerRe: Creating Excel chart using reflection Pin
Simon P Stevens8-Jan-09 3:51
Simon P Stevens8-Jan-09 3:51 
GeneralRe: Creating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:56
professional dan!sh 8-Jan-09 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.