|
- c# - string. Join on a List lt;int gt; or other type - Stack Overflow
I want to turn an array or list of ints into a comma delimited string, like this: string myFunction(List<int> a) { return string Join(",", a); } But string Join only takes List<string> as the second parameter What is the best way to do this?
- c# - Most efficient way to concatenate strings? - Stack Overflow
The String Join answer below doesn't do + justice and is, practically speaking, a bad way to concatenate strings, but it is surprisingly fast performance wise The answer why is interesting String Concat and String Join can both act on arrays, but String Join is actually faster
- arrays - Split and join C# string - Stack Overflow
First split then join a subset of a string I'm trying to split a string into an array, take first element out (use it) and then join the rest of the array into a seperate string
- c# - Join multiple strings with delimiters - Stack Overflow
Join multiple strings with delimiters Asked 10 years ago Modified 9 years, 5 months ago Viewed 809 times
- c# - Join together all items of a list in an output string in . NET . . .
Join together all items of a list in an output string in NET Asked 15 years, 2 months ago Modified 4 years, 1 month ago Viewed 56k times
- c# - How to combine two different strings in one string . . . - Stack . . .
0 You can use String Concat(string firstString,string secondString), if you want to merge strings with no delimiter And you can use String Join(string separator, string[] stringsToBeJoined) The first parameter is the separator between strings in the merged single string and the second parameter is the array of strings which will be merged
- c# - How to join together some strings with conditions? - Stack Overflow
How to join together some strings with conditions? Asked 13 years, 9 months ago Modified 13 years, 9 months ago Viewed 7k times
- c# - Join list of string to comma separated and enclosed in single . . .
Join list of string to comma separated and enclosed in single quotes Asked 13 years, 11 months ago Modified 1 year, 7 months ago Viewed 81k times
|
|
|