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

C#

 
GeneralRe: getting country from phone number Pin
Asrour20-Jan-16 12:01
Asrour20-Jan-16 12:01 
SuggestionRe: getting country from phone number Pin
Sascha Lefèvre20-Jan-16 12:08
professionalSascha Lefèvre20-Jan-16 12:08 
GeneralRe: getting country from phone number Pin
Asrour20-Jan-16 12:21
Asrour20-Jan-16 12:21 
GeneralRe: getting country from phone number Pin
Sascha Lefèvre20-Jan-16 12:26
professionalSascha Lefèvre20-Jan-16 12:26 
GeneralRe: getting country from phone number Pin
Asrour20-Jan-16 12:31
Asrour20-Jan-16 12:31 
GeneralRe: getting country from phone number Pin
Sascha Lefèvre20-Jan-16 12:37
professionalSascha Lefèvre20-Jan-16 12:37 
AnswerRe: getting country from phone number Pin
jschell22-Jan-16 13:48
jschell22-Jan-16 13:48 
QuestionString Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 3:59
professionalSascha Lefèvre20-Jan-16 3:59 
Disclaimer: This is not a question asking for help with programming, more of a short survey.

Now that we have string interpolation built into C# 6, do you still see a use for String.Format or for some custom String.Format-replacement or prefer one or the other to the inbuilt interpolation? (And if so, why?)

Do you have a project where fast string formatting is critical?

///
I wrote a String.Format-replacement before C# 6 came out and I've started writing an article on that. Even if there might be no actual need for it any more, it still makes a really good example for using compiled expressions (which is why my solution is blazing fast for the second and following uses of the same format string). Getting some more opinions on this might be useful for the introduction / the way I'll present it.

cheers,
Sascha
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

AnswerRe: String Formatting / Interpolation --- Opinions Pin
Pete O'Hanlon20-Jan-16 4:19
mvePete O'Hanlon20-Jan-16 4:19 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 4:34
professionalSascha Lefèvre20-Jan-16 4:34 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Pete O'Hanlon20-Jan-16 4:46
mvePete O'Hanlon20-Jan-16 4:46 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 5:44
professionalSascha Lefèvre20-Jan-16 5:44 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Pete O'Hanlon20-Jan-16 6:53
mvePete O'Hanlon20-Jan-16 6:53 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 7:03
professionalSascha Lefèvre20-Jan-16 7:03 
AnswerRe: String Formatting / Interpolation --- Opinions Pin
phil.o20-Jan-16 4:26
professionalphil.o20-Jan-16 4:26 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 4:36
professionalSascha Lefèvre20-Jan-16 4:36 
AnswerRe: String Formatting / Interpolation --- Opinions Pin
PIEBALDconsult20-Jan-16 4:34
mvePIEBALDconsult20-Jan-16 4:34 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 5:41
professionalSascha Lefèvre20-Jan-16 5:41 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
PIEBALDconsult20-Jan-16 5:49
mvePIEBALDconsult20-Jan-16 5:49 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 5:55
professionalSascha Lefèvre20-Jan-16 5:55 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
PIEBALDconsult20-Jan-16 5:59
mvePIEBALDconsult20-Jan-16 5:59 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 7:43
professionalSascha Lefèvre20-Jan-16 7:43 
JokeRe: String Formatting / Interpolation --- Opinions Pin
Richard Deeming20-Jan-16 7:50
mveRichard Deeming20-Jan-16 7:50 
AnswerRe: String Formatting / Interpolation --- Opinions Pin
Richard Deeming20-Jan-16 4:41
mveRichard Deeming20-Jan-16 4:41 
GeneralRe: String Formatting / Interpolation --- Opinions Pin
Sascha Lefèvre20-Jan-16 5:38
professionalSascha Lefèvre20-Jan-16 5:38 

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.