String Join . Add overloads without separator.
Proposal:
Add Join overloads, that it become possible to use this method without separator.
for ex. instead of code
var str = string.Join("",list);
use this:
var str = string.Join(list);
What about string.Concat?
https://docs.microsoft.com/en-us/dotnet/api/system.string.concat?view=netcore-2.2#System_String_Concat__1_System_Collections_Generic_IEnumerable___0__
Yes, it is possible to do this with string.Concat method.
But, Join method can be more flexible/common/intuitive for "joining" strings, if thinking about strings in terms of collections.
Seems, historically method string.Concat was firstly added to .net , because standard c/c++ lang lib has similar method strcat, that concat just 2 strings. Then to the .net were added collections and then was added method for joining strings: string.Join. string.Join can be more common then string.Concat and can covers all functionality of string.Concat.
That's why proposal to add new overloads for string.Join method and mark string.Concat as depreciated.
Marking things as deprecated using the Obsolete attribute is considered a breaking change because a lot of people use the treat warnings as errors option and doing so causes obsoletion causes working code to suddenly not in that circumstance.
We wouldn't obsolete Concat because Join is arguably a nicer name 😉
I'm going to close this api-suggestion given the discussion wrapped up in January. Feel free to reactivate with more details. Thank you